Commit 7e998124 authored by Richard Levitte's avatar Richard Levitte
Browse files

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

things will work much more smoothly.
parent 2a1ef754
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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>