aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-25 22:49:17 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-25 22:49:17 +0100
commit447a3e7ab924c492214f1bbd2f25b61022e30bbc (patch)
tree6facae90f13dfae86cc4185657847a210e2c281e
parent8efef8e088235b4e90747097194184ab5e9bbc94 (diff)
downloadtermo-447a3e7ab924c492214f1bbd2f25b61022e30bbc.tar.gz
termo-447a3e7ab924c492214f1bbd2f25b61022e30bbc.tar.xz
termo-447a3e7ab924c492214f1bbd2f25b61022e30bbc.zip
strdup() needs 'define _XOPEN_SOURCE 600 - Petr Pavlu
-rw-r--r--driver-ti.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/driver-ti.c b/driver-ti.c
index 7424c4e..c26e89a 100644
--- a/driver-ti.c
+++ b/driver-ti.c
@@ -1,6 +1,5 @@
// we want strdup()
-#define _XPG6
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 600
#include "termkey.h"
#include "termkey-internal.h"