From 891dba4376535df407189de3a2af7c3951280752 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 5 May 2008 15:00:53 +0000 Subject: [PATCH] r19597@catbus: nickm | 2008-05-05 11:00:29 -0400 define _GNU_SOURCE before including fnmatch.h so that FNM_CASEFOLD gets defined and linux build gets fixed. This whole fnmatch() business will be a bit hard to port, though: windows doesn't have one IIUC, so we'll have to reimplement our own to work there. svn:r772 --- http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/http.c b/http.c index 217a6dc5..2b98674f 100644 --- a/http.c +++ b/http.c @@ -80,6 +80,7 @@ #include #endif #ifdef HAVE_FNMATCH_H +#define _GNU_SOURCE #include #endif