From: Zhang Qiang Date: Thu, 3 Apr 2014 08:37:59 +0000 (+0800) Subject: perl-Crypt-SSLeay-cryptdef X-Git-Tag: vendor/0.64-10.3~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad5bc4898e089dea05138d8983e312d722116ad1;p=tools%2Fcrypt-ssleay.git perl-Crypt-SSLeay-cryptdef --- diff --git a/SSLeay.xs b/SSLeay.xs index 5228c36..50e8085 100644 --- 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