diff options
author | Julien Cristau <jcristau@debian.org> | 2008-01-29 21:45:35 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-01-29 21:45:35 +0100 |
commit | e1a002217cabdb0806f28a0530a9cb972f370312 (patch) | |
tree | f2c7bdf96f5b72fb91f8c7b6b8c9555745ddc939 | |
parent | abca524c0298e629810bd98d18b73eceb0eca8d9 (diff) |
Define _XOPEN_SOURCE to 500 on linux
strdup() is only exposed by glibc headers if _XOPEN_SOURCE is defined to
a value >= 500.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 058c2f2..834a003 100644 --- a/configure.ac +++ b/configure.ac @@ -46,7 +46,7 @@ PKG_CHECK_MODULES(LUIT, x11 fontenc) case $host_os in linux*) - OS_CFLAGS="-D_XOPEN_SOURCE" + OS_CFLAGS="-D_XOPEN_SOURCE=500" ;; *) OS_CFLAGS= |