If I define _XOPEN_SOURCE before including *any* system header file,
things will work much more smoothly.
This commit is contained in:
parent
2a1ef75435
commit
7e99812432
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user