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>
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user