aboutsummaryrefslogtreecommitdiff
path: root/crypto/rand/randfile.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-10-14 22:04:14 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-10-14 22:04:14 +0000
commitffbfbef94353d297cf6acd9081bb1f13dd8266e1 (patch)
tree9dd5752e485b0f1365d5008e240fd7e7fffe3574 /crypto/rand/randfile.c
parent1fb2e0f940fa77b3b62544a7ce2f589e5cc05826 (diff)
downloadopenssl-ffbfbef94353d297cf6acd9081bb1f13dd8266e1.zip
openssl-ffbfbef94353d297cf6acd9081bb1f13dd8266e1.tar.gz
openssl-ffbfbef94353d297cf6acd9081bb1f13dd8266e1.tar.bz2
more vxworks patches
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r--crypto/rand/randfile.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index bc7d9c5..5b1109d 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/rand/randfile.c
@@ -56,15 +56,18 @@
* [including the GNU Public Licence.]
*/
+#include "e_os.h"
+
/* We need to define this to get macros like S_IFBLK and S_IFCHR */
+#if !defined(OPENSSL_SYS_VXWORKS)
#define _XOPEN_SOURCE 500
+#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "e_os.h"
#include <openssl/crypto.h>
#include <openssl/rand.h>
#include <openssl/buffer.h>