aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/rand/randfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/rand/randfile.c')
-rw-r--r--openssl/crypto/rand/randfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl/crypto/rand/randfile.c b/openssl/crypto/rand/randfile.c
index 030e07f41..7f1428072 100644
--- a/openssl/crypto/rand/randfile.c
+++ b/openssl/crypto/rand/randfile.c
@@ -57,7 +57,9 @@
*/
/* 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>