diff options
author | deraadt <> | 2014-04-17 10:24:08 +0000 |
---|---|---|
committer | deraadt <> | 2014-04-17 10:24:08 +0000 |
commit | 50a3fef3b6e05ce53175dbc182232e5c3b0defbf (patch) | |
tree | 89162cd9b56786344ca6670371387c1aeed65c6d /src | |
parent | 03cd8ce7162f8ebea488d803ebb42fa67350d1b0 (diff) | |
download | openbsd-50a3fef3b6e05ce53175dbc182232e5c3b0defbf.tar.gz openbsd-50a3fef3b6e05ce53175dbc182232e5c3b0defbf.tar.bz2 openbsd-50a3fef3b6e05ce53175dbc182232e5c3b0defbf.zip |
unistd.h is always in the same place; no need to #include the result of
a maze of conditional #define's
Diffstat (limited to 'src')
27 files changed, 29 insertions, 52 deletions
diff --git a/src/lib/libcrypto/bf/bf_opts.c b/src/lib/libcrypto/bf/bf_opts.c index 1721bb99b4..7a2a8b571c 100644 --- a/src/lib/libcrypto/bf/bf_opts.c +++ b/src/lib/libcrypto/bf/bf_opts.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libcrypto/bf/bfspeed.c b/src/lib/libcrypto/bf/bfspeed.c index c41ef3b403..4fbf81d00c 100644 --- a/src/lib/libcrypto/bf/bfspeed.c +++ b/src/lib/libcrypto/bf/bfspeed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libcrypto/cast/cast_spd.c b/src/lib/libcrypto/cast/cast_spd.c index d650af475c..0f99e0e570 100644 --- a/src/lib/libcrypto/cast/cast_spd.c +++ b/src/lib/libcrypto/cast/cast_spd.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libcrypto/cast/castopts.c b/src/lib/libcrypto/cast/castopts.c index 33b2c7b06f..f18a49bd6e 100644 --- a/src/lib/libcrypto/cast/castopts.c +++ b/src/lib/libcrypto/cast/castopts.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libcrypto/des/des_locl.h b/src/lib/libcrypto/des/des_locl.h index a3b512e9b0..cf7811041e 100644 --- a/src/lib/libcrypto/des/des_locl.h +++ b/src/lib/libcrypto/des/des_locl.h | |||
@@ -70,16 +70,8 @@ | |||
70 | #include <stdio.h> | 70 | #include <stdio.h> |
71 | #include <stdlib.h> | 71 | #include <stdlib.h> |
72 | 72 | ||
73 | #ifndef OPENSSL_SYS_MSDOS | 73 | #include <unistd.h> |
74 | #if !defined(OPENSSL_SYS_VMS) || defined(__DECC) | ||
75 | #ifdef OPENSSL_UNISTD | ||
76 | # include OPENSSL_UNISTD | ||
77 | #else | ||
78 | # include <unistd.h> | ||
79 | #endif | ||
80 | #include <math.h> | 74 | #include <math.h> |
81 | #endif | ||
82 | #endif | ||
83 | #include <openssl/des.h> | 75 | #include <openssl/des.h> |
84 | 76 | ||
85 | #ifdef OPENSSL_SYS_MSDOS /* Visual C++ 2.1 (Windows NT/95) */ | 77 | #ifdef OPENSSL_SYS_MSDOS /* Visual C++ 2.1 (Windows NT/95) */ |
diff --git a/src/lib/libcrypto/des/des_opts.c b/src/lib/libcrypto/des/des_opts.c index 2df82962c5..c713c5e319 100644 --- a/src/lib/libcrypto/des/des_opts.c +++ b/src/lib/libcrypto/des/des_opts.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | #ifndef OPENSSL_SYS_MSDOS | 67 | #ifndef OPENSSL_SYS_MSDOS |
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD | 69 | #include <unistd.h> |
70 | #else | 70 | #else |
71 | #include <io.h> | 71 | #include <io.h> |
72 | extern void exit(); | 72 | extern void exit(); |
diff --git a/src/lib/libcrypto/des/speed.c b/src/lib/libcrypto/des/speed.c index 1616f4b7c9..67a8edf00f 100644 --- a/src/lib/libcrypto/des/speed.c +++ b/src/lib/libcrypto/des/speed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libcrypto/idea/idea_spd.c b/src/lib/libcrypto/idea/idea_spd.c index 699353e871..cce4be9e6f 100644 --- a/src/lib/libcrypto/idea/idea_spd.c +++ b/src/lib/libcrypto/idea/idea_spd.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libcrypto/opensslconf.h.in b/src/lib/libcrypto/opensslconf.h.in index 97e3745563..4c92f144cb 100644 --- a/src/lib/libcrypto/opensslconf.h.in +++ b/src/lib/libcrypto/opensslconf.h.in | |||
@@ -10,9 +10,6 @@ | |||
10 | #endif | 10 | #endif |
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | #undef OPENSSL_UNISTD | ||
14 | #define OPENSSL_UNISTD <unistd.h> | ||
15 | |||
16 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | 13 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION |
17 | 14 | ||
18 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | 15 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) |
diff --git a/src/lib/libcrypto/rc2/rc2speed.c b/src/lib/libcrypto/rc2/rc2speed.c index 85cf6f65bf..31bfc453f5 100644 --- a/src/lib/libcrypto/rc2/rc2speed.c +++ b/src/lib/libcrypto/rc2/rc2speed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libcrypto/rc4/rc4speed.c b/src/lib/libcrypto/rc4/rc4speed.c index 0ebd38123d..a1207231fa 100644 --- a/src/lib/libcrypto/rc4/rc4speed.c +++ b/src/lib/libcrypto/rc4/rc4speed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libcrypto/rc5/rc5speed.c b/src/lib/libcrypto/rc5/rc5speed.c index 8e363be535..3bcc8f49c0 100644 --- a/src/lib/libcrypto/rc5/rc5speed.c +++ b/src/lib/libcrypto/rc5/rc5speed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/apps/s_time.c b/src/lib/libssl/src/apps/s_time.c index 5f02e5fd03..1eb01f6d2f 100644 --- a/src/lib/libssl/src/apps/s_time.c +++ b/src/lib/libssl/src/apps/s_time.c | |||
@@ -81,7 +81,7 @@ | |||
81 | #include "winmain.h" | 81 | #include "winmain.h" |
82 | #include "wintext.h" | 82 | #include "wintext.h" |
83 | #endif | 83 | #endif |
84 | #include OPENSSL_UNISTD | 84 | #include <unistd.h> |
85 | 85 | ||
86 | #undef PROG | 86 | #undef PROG |
87 | #define PROG s_time_main | 87 | #define PROG s_time_main |
diff --git a/src/lib/libssl/src/apps/speed.c b/src/lib/libssl/src/apps/speed.c index fb4f25ed41..72aa867ae4 100644 --- a/src/lib/libssl/src/apps/speed.c +++ b/src/lib/libssl/src/apps/speed.c | |||
@@ -100,7 +100,7 @@ | |||
100 | #include <openssl/err.h> | 100 | #include <openssl/err.h> |
101 | #include <openssl/evp.h> | 101 | #include <openssl/evp.h> |
102 | #include <openssl/objects.h> | 102 | #include <openssl/objects.h> |
103 | #include OPENSSL_UNISTD | 103 | #include <unistd.h> |
104 | 104 | ||
105 | #include <signal.h> | 105 | #include <signal.h> |
106 | 106 | ||
diff --git a/src/lib/libssl/src/crypto/bf/bf_opts.c b/src/lib/libssl/src/crypto/bf/bf_opts.c index 1721bb99b4..7a2a8b571c 100644 --- a/src/lib/libssl/src/crypto/bf/bf_opts.c +++ b/src/lib/libssl/src/crypto/bf/bf_opts.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/crypto/bf/bfspeed.c b/src/lib/libssl/src/crypto/bf/bfspeed.c index c41ef3b403..4fbf81d00c 100644 --- a/src/lib/libssl/src/crypto/bf/bfspeed.c +++ b/src/lib/libssl/src/crypto/bf/bfspeed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/crypto/cast/cast_spd.c b/src/lib/libssl/src/crypto/cast/cast_spd.c index d650af475c..0f99e0e570 100644 --- a/src/lib/libssl/src/crypto/cast/cast_spd.c +++ b/src/lib/libssl/src/crypto/cast/cast_spd.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/crypto/cast/castopts.c b/src/lib/libssl/src/crypto/cast/castopts.c index 33b2c7b06f..f18a49bd6e 100644 --- a/src/lib/libssl/src/crypto/cast/castopts.c +++ b/src/lib/libssl/src/crypto/cast/castopts.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/crypto/des/des_locl.h b/src/lib/libssl/src/crypto/des/des_locl.h index a3b512e9b0..cf7811041e 100644 --- a/src/lib/libssl/src/crypto/des/des_locl.h +++ b/src/lib/libssl/src/crypto/des/des_locl.h | |||
@@ -70,16 +70,8 @@ | |||
70 | #include <stdio.h> | 70 | #include <stdio.h> |
71 | #include <stdlib.h> | 71 | #include <stdlib.h> |
72 | 72 | ||
73 | #ifndef OPENSSL_SYS_MSDOS | 73 | #include <unistd.h> |
74 | #if !defined(OPENSSL_SYS_VMS) || defined(__DECC) | ||
75 | #ifdef OPENSSL_UNISTD | ||
76 | # include OPENSSL_UNISTD | ||
77 | #else | ||
78 | # include <unistd.h> | ||
79 | #endif | ||
80 | #include <math.h> | 74 | #include <math.h> |
81 | #endif | ||
82 | #endif | ||
83 | #include <openssl/des.h> | 75 | #include <openssl/des.h> |
84 | 76 | ||
85 | #ifdef OPENSSL_SYS_MSDOS /* Visual C++ 2.1 (Windows NT/95) */ | 77 | #ifdef OPENSSL_SYS_MSDOS /* Visual C++ 2.1 (Windows NT/95) */ |
diff --git a/src/lib/libssl/src/crypto/des/des_opts.c b/src/lib/libssl/src/crypto/des/des_opts.c index 2df82962c5..c713c5e319 100644 --- a/src/lib/libssl/src/crypto/des/des_opts.c +++ b/src/lib/libssl/src/crypto/des/des_opts.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | #ifndef OPENSSL_SYS_MSDOS | 67 | #ifndef OPENSSL_SYS_MSDOS |
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD | 69 | #include <unistd.h> |
70 | #else | 70 | #else |
71 | #include <io.h> | 71 | #include <io.h> |
72 | extern void exit(); | 72 | extern void exit(); |
diff --git a/src/lib/libssl/src/crypto/des/speed.c b/src/lib/libssl/src/crypto/des/speed.c index 1616f4b7c9..67a8edf00f 100644 --- a/src/lib/libssl/src/crypto/des/speed.c +++ b/src/lib/libssl/src/crypto/des/speed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/crypto/idea/idea_spd.c b/src/lib/libssl/src/crypto/idea/idea_spd.c index 699353e871..cce4be9e6f 100644 --- a/src/lib/libssl/src/crypto/idea/idea_spd.c +++ b/src/lib/libssl/src/crypto/idea/idea_spd.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/crypto/opensslconf.h.in b/src/lib/libssl/src/crypto/opensslconf.h.in index 97e3745563..4c92f144cb 100644 --- a/src/lib/libssl/src/crypto/opensslconf.h.in +++ b/src/lib/libssl/src/crypto/opensslconf.h.in | |||
@@ -10,9 +10,6 @@ | |||
10 | #endif | 10 | #endif |
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | #undef OPENSSL_UNISTD | ||
14 | #define OPENSSL_UNISTD <unistd.h> | ||
15 | |||
16 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | 13 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION |
17 | 14 | ||
18 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | 15 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) |
diff --git a/src/lib/libssl/src/crypto/rc2/rc2speed.c b/src/lib/libssl/src/crypto/rc2/rc2speed.c index 85cf6f65bf..31bfc453f5 100644 --- a/src/lib/libssl/src/crypto/rc2/rc2speed.c +++ b/src/lib/libssl/src/crypto/rc2/rc2speed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/crypto/rc4/rc4speed.c b/src/lib/libssl/src/crypto/rc4/rc4speed.c index 0ebd38123d..a1207231fa 100644 --- a/src/lib/libssl/src/crypto/rc4/rc4speed.c +++ b/src/lib/libssl/src/crypto/rc4/rc4speed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/crypto/rc5/rc5speed.c b/src/lib/libssl/src/crypto/rc5/rc5speed.c index 8e363be535..3bcc8f49c0 100644 --- a/src/lib/libssl/src/crypto/rc5/rc5speed.c +++ b/src/lib/libssl/src/crypto/rc5/rc5speed.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #include <stdio.h> | 66 | #include <stdio.h> |
67 | 67 | ||
68 | #include <openssl/e_os2.h> | 68 | #include <openssl/e_os2.h> |
69 | #include OPENSSL_UNISTD_IO | 69 | #include <unistd.h> |
70 | OPENSSL_DECLARE_EXIT | 70 | OPENSSL_DECLARE_EXIT |
71 | 71 | ||
72 | #ifndef OPENSSL_SYS_NETWARE | 72 | #ifndef OPENSSL_SYS_NETWARE |
diff --git a/src/lib/libssl/src/ssl/ssltest.c b/src/lib/libssl/src/ssl/ssltest.c index 771c50a3e1..e56c811a47 100644 --- a/src/lib/libssl/src/ssl/ssltest.c +++ b/src/lib/libssl/src/ssl/ssltest.c | |||
@@ -187,13 +187,12 @@ | |||
187 | #endif | 187 | #endif |
188 | #include <openssl/bn.h> | 188 | #include <openssl/bn.h> |
189 | 189 | ||
190 | #define _XOPEN_SOURCE_EXTENDED 1 /* Or gethostname won't be declared properly | 190 | #define _XOPEN_SOURCE_EXTENDED 1 |
191 | on Compaq platforms (at least with DEC C). | 191 | /* Or gethostname won't be declared properly |
192 | Do not try to put it earlier, or IPv6 includes | 192 | on Compaq platforms (at least with DEC C). |
193 | get screwed... | 193 | Do not try to put it earlier, or IPv6 includes |
194 | */ | 194 | get screwed... */ |
195 | 195 | ||
196 | #include OPENSSL_UNISTD | ||
197 | 196 | ||
198 | # define TEST_SERVER_CERT "../apps/server.pem" | 197 | # define TEST_SERVER_CERT "../apps/server.pem" |
199 | # define TEST_CLIENT_CERT "../apps/client.pem" | 198 | # define TEST_CLIENT_CERT "../apps/client.pem" |