summaryrefslogtreecommitdiff
path: root/deps/openssl
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-08-31 19:11:10 +0000
committerBen Noordhuis <info@bnoordhuis.nl>2011-09-12 21:48:30 +0000
commitc18ef0fed55d7daf3031850e0a7f4aba4372a69a (patch)
tree980ffdf803b1e5fc612e35bb9acd96297ca30ef5 /deps/openssl
parente4e1917936d42d0d854c7c1467041756f40522b8 (diff)
downloadnode-new-c18ef0fed55d7daf3031850e0a7f4aba4372a69a.tar.gz
openssl: fixups for sunos
Diffstat (limited to 'deps/openssl')
-rw-r--r--deps/openssl/openssl/crypto/ui/ui_openssl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/openssl/openssl/crypto/ui/ui_openssl.c b/deps/openssl/openssl/crypto/ui/ui_openssl.c
index 06270f09cd..40d2031156 100644
--- a/deps/openssl/openssl/crypto/ui/ui_openssl.c
+++ b/deps/openssl/openssl/crypto/ui/ui_openssl.c
@@ -122,7 +122,6 @@
* sigaction and fileno included. -pedantic would be more appropriate for
* the intended purposes, but we can't prevent users from adding -ansi.
*/
-#define _POSIX_C_SOURCE 1
#include <signal.h>
#include <stdio.h>
#include <string.h>
@@ -176,6 +175,12 @@
* TERMIO, TERMIOS, VMS, MSDOS and SGTTY
*/
+#if defined(__sun) && !defined(TERMIOS)
+# define TERMIOS
+# undef TERMIO
+# undef SGTTY
+#endif
+
#if defined(__sgi) && !defined(TERMIOS)
# define TERMIOS
# undef TERMIO