summaryrefslogtreecommitdiffstats
path: root/ssl/ssltest.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r--ssl/ssltest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 2f5a134399..7a758f0283 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -116,6 +116,7 @@
/* Or gethostname won't be declared properly on Linux and GNU platforms. */
#define _BSD_SOURCE 1
+#define _DEFAULT_SOURCE 1
#include <assert.h>
#include <errno.h>