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:
578ca7e
)
gethostname() is more a BSD feature than an XOPEN one.
author
Richard Levitte
<levitte@openssl.org>
Wed, 4 Dec 2002 22:48:01 +0000
(22:48 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 4 Dec 2002 22:48:01 +0000
(22:48 +0000)
PR: 379
ssl/ssltest.c
patch
|
blob
|
history
diff --git
a/ssl/ssltest.c
b/ssl/ssltest.c
index 978516f1b7b9bbdf7d04d31f52c29fac46d02e9a..8ff076250f27970b1f3e4bbddbb53d8ca47fdc12 100644
(file)
--- a/
ssl/ssltest.c
+++ b/
ssl/ssltest.c
@@
-114,7
+114,7
@@
* SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project.
*/
-#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).