Some platforms (namely HP-UX) require the 'x' bit set for shared libraries.
[openssl.git] / crypto / cryptlib.h
index e3d38524ae9cd6cac5cad817ed8923cabb428f56..5eff5d31412e53d3f6bea3f340cf3bed95e5b78b 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
-#ifdef  __cplusplus
-extern "C" {
-#endif
-
 #include "openssl/e_os.h"
 
 #include <openssl/crypto.h>
@@ -74,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"