summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/rand/randfile.c
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-02-20 15:54:22 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-02-20 16:48:20 +0400
commitf317f5aee91a2c21d68a9b94b0742d6b45bc44e8 (patch)
tree79d785ef15fc109c148d4c59d2c1188424468e33 /deps/openssl/openssl/crypto/rand/randfile.c
parentf1780a6be63d85023053bc0cbec04106e4e8fe04 (diff)
downloadandroid-node-v8-f317f5aee91a2c21d68a9b94b0742d6b45bc44e8.tar.gz
android-node-v8-f317f5aee91a2c21d68a9b94b0742d6b45bc44e8.tar.bz2
android-node-v8-f317f5aee91a2c21d68a9b94b0742d6b45bc44e8.zip
openssl: update to 1.0.1e
Diffstat (limited to 'deps/openssl/openssl/crypto/rand/randfile.c')
-rw-r--r--deps/openssl/openssl/crypto/rand/randfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/openssl/openssl/crypto/rand/randfile.c b/deps/openssl/openssl/crypto/rand/randfile.c
index 030e07f418..7f1428072d 100644
--- a/deps/openssl/openssl/crypto/rand/randfile.c
+++ b/deps/openssl/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>