Skip to content

Commit

Permalink
openssl: fixups for sunos
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Sep 12, 2011
1 parent e4e1917 commit c18ef0f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion deps/openssl/openssl/crypto/ui/ui_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c18ef0f

Please sign in to comment.