Commit e1a00221 authored by Julien Cristau's avatar Julien Cristau

Define _XOPEN_SOURCE to 500 on linux

strdup() is only exposed by glibc headers if _XOPEN_SOURCE is defined to
a value >= 500.
parent abca524c
......@@ -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=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment