aboutsummaryrefslogtreecommitdiff
path: root/crypto/rand/randfile.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-05-21 17:39:43 +0000
committerRichard Levitte <levitte@openssl.org>2005-05-21 17:39:43 +0000
commitfe8bf9560dbe5998e8857869508d2fe4b4f5dbf6 (patch)
tree0622ee9caa7d93452c4370eb2900b1625dd92593 /crypto/rand/randfile.c
parente4c9b85e65b6d5f0394ae122e0534de9a8becad5 (diff)
downloadopenssl-fe8bf9560dbe5998e8857869508d2fe4b4f5dbf6.zip
openssl-fe8bf9560dbe5998e8857869508d2fe4b4f5dbf6.tar.gz
openssl-fe8bf9560dbe5998e8857869508d2fe4b4f5dbf6.tar.bz2
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>
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r--crypto/rand/randfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index dda020f..d69bdf8 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/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>