From e5679a6ca4c4baa8e0bf837854e66669b634903c Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 1 Jan 2008 09:16:16 -0500 Subject: [PATCH] uuidd: Add _GNU_SOURCE #define to pick up setres[ug]id() prototypes Addresses-Sourceforge-Patch: #1861663 Reported-by: Mike Frysinger Signed-off-by: "Theodore Ts'o" --- misc/uuidd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/uuidd.c b/misc/uuidd.c index 6c64f47..2fb1057 100644 --- a/misc/uuidd.c +++ b/misc/uuidd.c @@ -9,6 +9,8 @@ * %End-Header% */ +#define _GNU_SOURCE /* for setres[ug]id() */ + #include #ifdef HAVE_STDLIB_H #include -- 1.8.3.1