summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-12-24 04:56:37 -0600
committerepoch <epoch@hacking.allowed.org>2017-12-24 04:56:37 -0600
commitd8bcbb131454ca1068bc6fa8a11fdabdaf86988b (patch)
tree9715ca613f4563e92e51c778165ec00f58ab017a /src
parent6a747547c8ea8e5ccf8aeb575b8f8f872420477e (diff)
downloadhackvr-d8bcbb131454ca1068bc6fa8a11fdabdaf86988b.tar.gz
hackvr-d8bcbb131454ca1068bc6fa8a11fdabdaf86988b.zip
#defined _XOPEN_SOURCE so NetBSD gets strdup
Diffstat (limited to 'src')
-rw-r--r--src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 458f73f..0ead60b 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,3 +1,4 @@
+#define _XOPEN_SOURCE
#include <string.h>
#include "config.h"
#include "math.h"