Let's limit the extent of the definition of _XOPEN_SOURCE.
authorRichard Levitte <levitte@openssl.org>
Tue, 25 Mar 2003 21:17:28 +0000 (21:17 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 25 Mar 2003 21:17:28 +0000 (21:17 +0000)
ssl/kssl.c

index 327b92f..a80f5b2 100644 (file)
@@ -70,6 +70,7 @@
 
 #define _XOPEN_SOURCE /* glibc2 needs this to declare strptime() */
 #include <time.h>
+#undef _XOPEN_SOURCE /* To avoid clashes with anything else... */
 #include <string.h>
 
 #include <openssl/ssl.h>