]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
uuidd: Add _GNU_SOURCE #define to pick up setres[ug]id() prototypes
authorTheodore Ts'o <tytso@mit.edu>
Tue, 1 Jan 2008 14:16:16 +0000 (09:16 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 1 Jan 2008 14:30:46 +0000 (09:30 -0500)
Addresses-Sourceforge-Patch: #1861663

Reported-by: Mike Frysinger <vapier@users.sourceforge.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/uuidd.c

index 6c64f47c90929be32e9db6950772e2bec651e813..2fb10575189f4b32d7c20d182bf2a24196916ab9 100644 (file)
@@ -9,6 +9,8 @@
  * %End-Header%
  */
 
+#define _GNU_SOURCE /* for setres[ug]id() */
+
 #include <stdio.h>
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>