From 3f3dd810e03661535980e334723666205c693313 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Fri, 1 Aug 2014 14:23:38 +0530 Subject: Fix -Wundef warnings in fnmatch.c Fixes -Wundef warnings for MBSTATE_T and HAVE_STRING_H. The HAVE_STRING_H bit is a merge from the gnulib fnmatch.c and the MBSTATE_T fix has been posted to gnulib for inclusion. --- posix/fnmatch.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'posix') diff --git a/posix/fnmatch.c b/posix/fnmatch.c index ca95ab4df2..c330a122ab 100644 --- a/posix/fnmatch.c +++ b/posix/fnmatch.c @@ -28,12 +28,7 @@ #include #include #include - -#if HAVE_STRING_H || defined _LIBC -# include -#else -# include -#endif +#include #if defined STDC_HEADERS || defined _LIBC # include -- cgit v1.2.1