When _XOPEN_SOURCE is defined, make sure it's defined to 500. Required in
[openssl.git] / ssl / kssl.c
index 49602bb..b8192cd 100644 (file)
@@ -68,7 +68,7 @@
 
 #include <openssl/opensslconf.h>
 
-#define _XOPEN_SOURCE /* glibc2 needs this to declare strptime() */
+#define _XOPEN_SOURCE 500 /* glibc2 needs this to declare strptime() */
 #include <time.h>
 #undef _XOPEN_SOURCE /* To avoid clashes with anything else... */
 #include <string.h>