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
This commit is contained in:
Nick Mathewson 2008-05-05 15:00:53 +00:00
parent f2a81fbc67
commit 891dba4376

1
http.c
View File

@ -80,6 +80,7 @@
#include <fcntl.h>
#endif
#ifdef HAVE_FNMATCH_H
#define _GNU_SOURCE
#include <fnmatch.h>
#endif