summaryrefslogtreecommitdiffstats
path: root/crypto/ui
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2012-06-03 22:03:37 +0000
committerBen Laurie <ben@openssl.org>2012-06-03 22:03:37 +0000
commit68d2cf51bcfc1c2c1d0deec9be21c3d743737656 (patch)
tree7b8ed6018e595520ff18873c4fc267228b552f85 /crypto/ui
parent19eedffcafe5e703f28e015bad417bc50266c19b (diff)
Reduce version skew: trivia (I hope).
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 5832a73cf5..a38c7581e6 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(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS)
+#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 2
#endif
+#endif
#include <signal.h>
#include <stdio.h>
#include <string.h>