summaryrefslogtreecommitdiff
path: root/lib/libcrypto/rand/randfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/rand/randfile.c')
-rw-r--r--lib/libcrypto/rand/randfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/rand/randfile.c b/lib/libcrypto/rand/randfile.c
index 9bd89ba495d..d847d8ebdff 100644
--- a/lib/libcrypto/rand/randfile.c
+++ b/lib/libcrypto/rand/randfile.c
@@ -57,7 +57,7 @@
*/
/* We need to define this to get macros like S_IFBLK and S_IFCHR */
-#define _XOPEN_SOURCE 1
+#define _XOPEN_SOURCE 500
#include <errno.h>
#include <stdio.h>