summaryrefslogtreecommitdiff
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 6737adf..aaf6c6b 100644
--- a/ssl/ssltest.c
+++ b/ssl/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>