diff options
author | Owen Taylor <otaylor@src.gnome.org> | 1997-12-05 04:29:22 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1997-12-05 04:29:22 +0000 |
commit | a8cd23de732cff51f4c23f36c6692fcfe0b801a2 (patch) | |
tree | a0f50366ad2d409a63e0792a30aab481c367d5e5 /gtk/fnmatch.c | |
parent | bb1aa22b63046d47d30df514aff19c662966e7f8 (diff) | |
download | gtk+-a8cd23de732cff51f4c23f36c6692fcfe0b801a2.tar.gz |
Don't redefine _GNU_SOURCE if already defined.
-owt
Diffstat (limited to 'gtk/fnmatch.c')
-rw-r--r-- | gtk/fnmatch.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/fnmatch.c b/gtk/fnmatch.c index 04eced312f..f92beb6f1b 100644 --- a/gtk/fnmatch.c +++ b/gtk/fnmatch.c @@ -20,10 +20,14 @@ Cambridge, MA 02139, USA. */ #endif #include <errno.h> + /* Added for GTK. We need to make sure that all constants are defined * to properly compile this file */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include "fnmatch.h" + #include <ctype.h> |