]> granicus.if.org Git - php/commitdiff
make sure that GNU extensions exist for fnmatch()
authorHartmut Holzgraefe <hholzgra@php.net>
Fri, 28 Feb 2003 07:52:23 +0000 (07:52 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Fri, 28 Feb 2003 07:52:23 +0000 (07:52 +0000)
ext/standard/file.c

index acb63554b6a083cd2a3cde565ef90c736d97763c..18058279a4534dc1af66d82157925659e3ce1124 100644 (file)
@@ -107,6 +107,8 @@ php_file_globals file_globals;
 #endif
 
 #ifdef HAVE_FNMATCH
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
 #include <fnmatch.h>
 #endif