diff options
author | Richard Levitte <levitte@openssl.org> | 2005-05-21 17:39:43 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-05-21 17:39:43 +0000 |
commit | fe8bf9560dbe5998e8857869508d2fe4b4f5dbf6 (patch) | |
tree | 0622ee9caa7d93452c4370eb2900b1625dd92593 /crypto/rand | |
parent | e4c9b85e65b6d5f0394ae122e0534de9a8becad5 (diff) | |
download | openssl-fe8bf9560dbe5998e8857869508d2fe4b4f5dbf6.tar.gz |
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')
-rw-r--r-- | crypto/rand/randfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c index dda020fb10..d69bdf8b8a 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> |