summaryrefslogtreecommitdiff
path: root/crypto/engine/enginetest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-06-23 16:44:15 +0000
committerRichard Levitte <levitte@openssl.org>2001-06-23 16:44:15 +0000
commit1ae6ddac91fc95ddc3e8fbf11839f3e54be04421 (patch)
treef02ca7271d01bd854f6c0c1b5cdf5885a6596a95 /crypto/engine/enginetest.c
parent55dcfa421c7e004f367e0da69ab043adfebcd829 (diff)
downloadopenssl-new-1ae6ddac91fc95ddc3e8fbf11839f3e54be04421.tar.gz
Including stdio.h before setting _XOPEN_SOURCE and
_XOPEN_SOURCE_EXTENDED wasn't very smart...
Diffstat (limited to 'crypto/engine/enginetest.c')
-rw-r--r--crypto/engine/enginetest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c
index 59afe8e3c4..06a439b4c0 100644
--- a/crypto/engine/enginetest.c
+++ b/crypto/engine/enginetest.c
@@ -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>