1
0
mirror of https://github.com/ericonr/sndio.git synced 2024-02-18 04:45:21 -06:00

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

2
configure vendored
View File

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