summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-07-09 21:51:03 +0000
committerRichard Levitte <levitte@openssl.org>2001-07-09 21:51:03 +0000
commit7e99812432a73d7dfe2a7e27a72ce9a51b8efd93 (patch)
treee7e747f4ac6587a186c478ebe38b7f03f2eac952 /ssl
parent2a1ef754358e35c8e86df903e0a2f92c35a550d0 (diff)
If I define _XOPEN_SOURCE before including *any* system header file,
things will work much more smoothly.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/kssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/kssl.c b/ssl/kssl.c
index a92c87273d..889061e3be 100644
--- a/ssl/kssl.c
+++ b/ssl/kssl.c
@@ -68,9 +68,9 @@
#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_KRB5
-#include <string.h>
#define _XOPEN_SOURCE /* glibc2 needs this to declare strptime() */
#include <time.h>
+#include <string.h>
#include <openssl/ssl.h>
#include <openssl/evp.h>