Make sure we get the definition of OPENSSL_NO_RC4.
authorRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 23:29:17 +0000 (23:29 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 23:29:17 +0000 (23:29 +0000)
crypto/evp/e_rc4.c
crypto/rc4/rc4.h

index d58f507..eadd8d4 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#ifndef OPENSSL_NO_RC4
-
 #include <stdio.h>
 #include "cryptlib.h"
+
+#ifndef OPENSSL_NO_RC4
+
 #include <openssl/evp.h>
 #include <openssl/objects.h>
 #include <openssl/rc4.h>
index 8722091..7aec04f 100644 (file)
 #ifndef HEADER_RC4_H
 #define HEADER_RC4_H
 
+#include <openssl/opensslconf.h> /* OPENSSL_NO_RC4, RC4_INT */
 #ifdef OPENSSL_NO_RC4
 #error RC4 is disabled.
 #endif
 
-#include <openssl/opensslconf.h> /* RC4_INT */
-
 #ifdef  __cplusplus
 extern "C" {
 #endif