linux needs _GNU_SOURCE for setres{u,g}id

This commit is contained in:
Alexandre Ratchov 2012-10-26 10:09:59 +02:00
parent cafb58318d
commit dc9bbf8f45
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -45,7 +45,7 @@ case `uname` in
alsa=yes
ldadd="-lrt"
so="$so libsndio.so.\${MAJ} libsndio.so"
defs='-DCOMPAT_ISSETUGID \\\
defs='-D_GNU_SOURCE -DCOMPAT_ISSETUGID \\\
-DCOMPAT_STRLCAT -DCOMPAT_STRLCPY -DCOMPAT_STRTONUM \\\
-DCOMPAT_LETOH -DDEV_RANDOM=\\"/dev/urandom\\"'
;;