Make sure strdup() gets properly declared.
authorRichard Levitte <levitte@openssl.org>
Wed, 17 Apr 2002 07:52:21 +0000 (07:52 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 17 Apr 2002 07:52:21 +0000 (07:52 +0000)
crypto/engine/enginetest.c

index a5a3c47fcbf1ec90b9a307838ea7530d2d5f1d95..23987a88066c3501e14a1311959ea0285060293c 100644 (file)
@@ -56,6 +56,9 @@
  *
  */
 
+#define _XOPEN_SOURCE_EXTENDED /* to get a proper declaration of strdup() */
+#define _XOPEN_SOURCE 500
+
 #include <stdio.h>
 #include <string.h>
 #include <openssl/engine.h>