projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afdec73
)
gethostname() is more a BSD feature than an XOPEN one.
author
Richard Levitte
<levitte@openssl.org>
Wed, 4 Dec 2002 22:48:10 +0000
(22:48 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 4 Dec 2002 22:48:10 +0000
(22:48 +0000)
PR: 379
ssl/ssltest.c
patch
|
blob
|
history
diff --git
a/ssl/ssltest.c
b/ssl/ssltest.c
index d12bf653e1be48badec978051d563f95da2c34cf..fccab9a2cef3dd692a23e1ace64023774a96b644 100644
(file)
--- a/
ssl/ssltest.c
+++ b/
ssl/ssltest.c
@@
-109,7
+109,7
@@
*
*/
-#define _
XOPEN_SOURCE 600
/* Or gethostname won't be declared properly
+#define _
BSD_SOURCE 1
/* Or gethostname won't be declared properly
on Linux and GNU platforms. */
#define _XOPEN_SOURCE_EXTENDED 1 /* Or gethostname won't be declared properly
on Compaq platforms (at least with DEC C).