Some platforms (namely HP-UX) require the 'x' bit set for shared libraries.
[openssl.git] / crypto / cryptlib.h
index 1b62a5ae4939c0fe3db2d0f84868f48be1fa2343..5eff5d31412e53d3f6bea3f340cf3bed95e5b78b 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
-#ifdef  __cplusplus
-extern "C" {
-#endif
-
-#ifndef FLAT_INC
-# include "../e_os.h"
-#else
-# include "e_os.h"
-#endif
+#include "openssl/e_os.h"
 
 #include <openssl/crypto.h>
 #include <openssl/buffer.h> 
@@ -78,6 +70,10 @@ extern "C" {
 #include <openssl/err.h>
 #include <openssl/opensslconf.h>
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #ifndef VMS
 #define X509_CERT_AREA         OPENSSLDIR
 #define X509_CERT_DIR          OPENSSLDIR "/certs"