From dc9bbf8f450cfa921682fa7bbf6c53bf57749874 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Fri, 26 Oct 2012 10:09:59 +0200 Subject: [PATCH] linux needs _GNU_SOURCE for setres{u,g}id --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index aac2e85..16b2ebc 100755 --- a/configure +++ b/configure @@ -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\\"' ;;