summaryrefslogtreecommitdiffstats
path: root/test/ssltest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ssltest.c')
-rw-r--r--test/ssltest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ssltest.c b/test/ssltest.c
index 1128ec83b8..68d48d1d73 100644
--- a/test/ssltest.c
+++ b/test/ssltest.c
@@ -142,6 +142,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>