If I define _XOPEN_SOURCE before including *any* system header file,

things will work much more smoothly.
This commit is contained in:
Richard Levitte 2001-07-09 21:51:03 +00:00
parent 2a1ef75435
commit 7e99812432

View File

@ -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>