summaryrefslogtreecommitdiff
path: root/toxcore/tox.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 /toxcore/tox.c
parent08cd61387ee078b81c50fa2714e9f1534a0865a2 (diff)
Revert "Revert "Portability fixes""
This reverts commit 59e2a844f04a8725e8079f854158aa86ef5988b2, and defines _DARWIN_C_SOURCE in toxcore/network.c
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 37298ce2..3276d2d5 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -21,6 +21,8 @@
21 * 21 *
22 */ 22 */
23 23
24#define _XOPEN_SOURCE 600
25
24#ifdef HAVE_CONFIG_H 26#ifdef HAVE_CONFIG_H
25#include "config.h" 27#include "config.h"
26#endif 28#endif