summaryrefslogtreecommitdiffstats
path: root/ssl/ssltest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-12-04 22:48:01 +0000
committerRichard Levitte <levitte@openssl.org>2002-12-04 22:48:01 +0000
commit4fbe40c54f03a7dbe2f838deda5961456c48c84e (patch)
treecdf2198a87797c17a543523f11631fbc111471b7 /ssl/ssltest.c
parent578ca7e4cd8148afc2477b15f5f70294127f1483 (diff)
gethostname() is more a BSD feature than an XOPEN one.
PR: 379
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r--ssl/ssltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 978516f1b7..8ff076250f 100644
--- 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).