summaryrefslogtreecommitdiffstats
path: root/crypto/ui
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-10-15 00:04:14 +0200
committerDr. Stephen Henson <steve@openssl.org>2011-10-15 00:04:14 +0200
commitffbfbef94353d297cf6acd9081bb1f13dd8266e1 (patch)
tree9dd5752e485b0f1365d5008e240fd7e7fffe3574 /crypto/ui
parentAllow override of GCCVER and noexecstack checking from environment. (diff)
downloadopenssl-ffbfbef94353d297cf6acd9081bb1f13dd8266e1.tar.xz
openssl-ffbfbef94353d297cf6acd9081bb1f13dd8266e1.zip
more vxworks patches
Diffstat (limited to 'crypto/ui')
-rw-r--r--crypto/ui/ui_openssl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index 1bc25f48d5..fd9c4a8169 100644
--- a/crypto/ui/ui_openssl.c
+++ b/crypto/ui/ui_openssl.c
@@ -122,9 +122,15 @@
* sigaction and fileno included. -pedantic would be more appropriate for
* the intended purposes, but we can't prevent users from adding -ansi.
*/
+#if defined(OPENSSL_SYSNAME_VXWORKS)
+#include <sys/types.h>
+#endif
+
+#if !defined(OPENSSL_SYSNAME_VXWORKS)
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 2
#endif
+#endif /* !OPENSSL_SYSNAME_VXWORKS */
#include <signal.h>
#include <stdio.h>
#include <string.h>