summaryrefslogtreecommitdiff
path: root/toxcore/util.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/util.c
parent08cd61387ee078b81c50fa2714e9f1534a0865a2 (diff)
Revert "Revert "Portability fixes""
This reverts commit 59e2a844f04a8725e8079f854158aa86ef5988b2, and defines _DARWIN_C_SOURCE in toxcore/network.c
Diffstat (limited to 'toxcore/util.c')
-rw-r--r--toxcore/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/util.c b/toxcore/util.c
index 7a390ea9..1d2a85dc 100644
--- a/toxcore/util.c
+++ b/toxcore/util.c
@@ -22,6 +22,8 @@
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 23 */
24 24
25#define _XOPEN_SOURCE 600
26
25#ifdef HAVE_CONFIG_H 27#ifdef HAVE_CONFIG_H
26#include "config.h" 28#include "config.h"
27#endif 29#endif