summaryrefslogtreecommitdiff
path: root/gtk/fnmatch.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>1997-12-02 22:27:33 +0000
committerOwen Taylor <otaylor@src.gnome.org>1997-12-02 22:27:33 +0000
commit1ce708c5700bc4ca736d48c01f02bea6065b9529 (patch)
treed35584ce924b9e5bd668d9b5309fc062f7027113 /gtk/fnmatch.c
parent8fc5d3586acc467d7f340b2e9962d020760878be (diff)
downloadgtk+-1ce708c5700bc4ca736d48c01f02bea6065b9529.tar.gz
define _GNU_SOURCE before include fnmatch.h, so that all
appropriate constants are defined. -owt
Diffstat (limited to 'gtk/fnmatch.c')
-rw-r--r--gtk/fnmatch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/fnmatch.c b/gtk/fnmatch.c
index 0a45770a40..04eced312f 100644
--- a/gtk/fnmatch.c
+++ b/gtk/fnmatch.c
@@ -20,6 +20,9 @@ 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 */
+#define _GNU_SOURCE
#include "fnmatch.h"
#include <ctype.h>