From 1ce708c5700bc4ca736d48c01f02bea6065b9529 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 2 Dec 1997 22:27:33 +0000 Subject: [PATCH] define _GNU_SOURCE before include fnmatch.h, so that all appropriate constants are defined. -owt --- gtk/fnmatch.c | 3 +++ 1 file changed, 3 insertions(+) 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 +/* 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