diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-08-01 14:23:38 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-08-01 14:23:38 +0530 |
commit | 3f3dd810e03661535980e334723666205c693313 (patch) | |
tree | 353de90ce25d898f9ff72e6cb4a2d4b1ca2f28ff /posix/fnmatch.c | |
parent | 95ee7fb13ba99ba265b49531c57e1cb8db629bc6 (diff) | |
download | glibc-3f3dd810e03661535980e334723666205c693313.tar.gz |
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.
Diffstat (limited to 'posix/fnmatch.c')
-rw-r--r-- | posix/fnmatch.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 <errno.h> #include <fnmatch.h> #include <ctype.h> - -#if HAVE_STRING_H || defined _LIBC -# include <string.h> -#else -# include <strings.h> -#endif +#include <string.h> #if defined STDC_HEADERS || defined _LIBC # include <stdlib.h> |