perl-Crypt-SSLeay-cryptdef
authorZhang Qiang <qiang.z.zhang@intel.com>
Thu, 3 Apr 2014 08:37:59 +0000 (16:37 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Thu, 3 Apr 2014 08:37:59 +0000 (16:37 +0800)
SSLeay.xs

index 5228c3667a5db19b5e72a64a204a14e060234630..50e8085cad4c196cf9942943c8f7a6f10317c3e8 100644 (file)
--- a/SSLeay.xs
+++ b/SSLeay.xs
@@ -9,15 +9,6 @@
 #ifdef __cplusplus
 extern "C" {
 #endif
-#include "EXTERN.h"
-#include "perl.h"
-
-/* CRYPT_SSLEAY_free() will not be #defined to be free() now that we're no
- * longer supporting pre-2000 OpenSSL.
-#define NO_XSLOCKS
-*/
-
-#include "XSUB.h"
 
 /* build problem under openssl 0.9.6 and some builds of perl 5.8.x */
 #ifndef PERL5
@@ -41,6 +32,16 @@ extern "C" {
 #define CRYPT_SSLEAY_free OPENSSL_free
 
 #undef Free /* undo namespace pollution from crypto.h */
+#include "EXTERN.h"
+#include "perl.h"
+
+/* CRYPT_SSLEAY_free() will not be #defined to be free() now that we're no
+ * longer supporting pre-2000 OpenSSL.
+#define NO_XSLOCKS
+*/
+
+#include "XSUB.h"
+
 #ifdef __cplusplus
 }
 #endif