Although glibc leaks strcasecmp through <string.h>, this behavior
is not required by POSIX, and HP NonStop needs <strings.h>
* lib/regex.c (includes): Include <strings.h>, for use of
strcasecmp in regcomp.c.
Reported by Jachim Schmitz.
Signed-off-by: Eric Blake <eblake@redhat.com>
+2011-07-11 Eric Blake <eblake@redhat.com>
+
+ regex: avoid compiler warning
+ * lib/regex.c (includes): Include <strings.h>, for use of
+ strcasecmp in regcomp.c.
+ Reported by Jachim Schmitz.
+
2011-07-09 Paul Eggert <eggert@cs.ucla.edu>
stdint: respect system's intmax_t if INTMAX_MAX
GNU regex allows. Include it before <regex.h>, which correctly
#undefs RE_DUP_MAX and sets it to the right value. */
#include <limits.h>
+#include <strings.h>
#include <regex.h>
#include "regex_internal.h"