summaryrefslogtreecommitdiff
path: root/auto_tests/dht_test.c
diff options
context:
space:
mode:
authorDavid Zero <zero@cpp.edu>2017-01-06 04:19:12 -0800
committerDavid Zero <zero@cpp.edu>2017-01-06 04:20:00 -0800
commit8ef1f35ca71e39d40bdae88243534eebc6fa6a26 (patch)
treec3615a0cfb3249ed524f5aeb3c5df7511bb6d268 /auto_tests/dht_test.c
parent08cd61387ee078b81c50fa2714e9f1534a0865a2 (diff)
Revert "Revert "Portability fixes""
This reverts commit 59e2a844f04a8725e8079f854158aa86ef5988b2, and defines _DARWIN_C_SOURCE in toxcore/network.c
Diffstat (limited to 'auto_tests/dht_test.c')
-rw-r--r--auto_tests/dht_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auto_tests/dht_test.c b/auto_tests/dht_test.c
index 9cec1643..633e7002 100644
--- a/auto_tests/dht_test.c
+++ b/auto_tests/dht_test.c
@@ -1,3 +1,5 @@
1#define _XOPEN_SOURCE 600
2
1#ifdef HAVE_CONFIG_H 3#ifdef HAVE_CONFIG_H
2#include "config.h" 4#include "config.h"
3#endif 5#endif