summaryrefslogtreecommitdiff
path: root/ssl/kssl.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-05-21 17:39:43 +0000
committerRichard Levitte <levitte@openssl.org>2005-05-21 17:39:43 +0000
commitfe8bf9560dbe5998e8857869508d2fe4b4f5dbf6 (patch)
tree0622ee9caa7d93452c4370eb2900b1625dd92593 /ssl/kssl.c
parente4c9b85e65b6d5f0394ae122e0534de9a8becad5 (diff)
downloadopenssl-new-fe8bf9560dbe5998e8857869508d2fe4b4f5dbf6.tar.gz
When _XOPEN_SOURCE is defined, make sure it's defined to 500. Required in
http://www.opengroup.org/onlinepubs/007908799/xsh/compilation.html. Notified by David Wolfe <dwolfe5272@yahoo.com>
Diffstat (limited to 'ssl/kssl.c')
-rw-r--r--ssl/kssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/kssl.c b/ssl/kssl.c
index 49602bb878..b8192cdfc7 100644
--- a/ssl/kssl.c
+++ b/ssl/kssl.c
@@ -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>