From 8ef1f35ca71e39d40bdae88243534eebc6fa6a26 Mon Sep 17 00:00:00 2001 From: David Zero Date: Fri, 6 Jan 2017 04:19:12 -0800 Subject: Revert "Revert "Portability fixes"" This reverts commit 59e2a844f04a8725e8079f854158aa86ef5988b2, and defines _DARWIN_C_SOURCE in toxcore/network.c --- auto_tests/tox_many_tcp_test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'auto_tests/tox_many_tcp_test.c') diff --git a/auto_tests/tox_many_tcp_test.c b/auto_tests/tox_many_tcp_test.c index 197c6e47..48f5671c 100644 --- a/auto_tests/tox_many_tcp_test.c +++ b/auto_tests/tox_many_tcp_test.c @@ -1,6 +1,8 @@ /* Auto Tests: Many TCP. */ +#define _XOPEN_SOURCE 600 + #ifdef HAVE_CONFIG_H #include "config.h" #endif -- cgit v1.2.3