Including stdio.h before setting _XOPEN_SOURCE and
authorRichard Levitte <levitte@openssl.org>
Sat, 23 Jun 2001 16:44:15 +0000 (16:44 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 23 Jun 2001 16:44:15 +0000 (16:44 +0000)
_XOPEN_SOURCE_EXTENDED wasn't very smart...

crypto/engine/enginetest.c

index 59afe8e3c403a18358c0b79786994386df89f936..06a439b4c0d52920ca623c2c31e46b2ad71a0114 100644 (file)
@@ -56,7 +56,6 @@
  *
  */
 
-#include <stdio.h>
 #include <openssl/e_os2.h>
 /* The following defines enable the declaration of strdup(), which is an
    extended function according to X/Open. */
@@ -67,6 +66,7 @@
 # define _XOPEN_SOURCE
 # define _XOPEN_SOURCE_EXTENDED        /* For Linux and probably anything GNU */
 #endif
+#include <stdio.h>
 #include <string.h>
 #include <openssl/engine.h>
 #include <openssl/err.h>