argp, regex: Ensure strcasecmp gets declared.
authorBruno Haible <bruno@clisp.org>
Tue, 26 Jun 2012 17:46:15 +0000 (19:46 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 26 Jun 2012 17:46:15 +0000 (19:46 +0200)
* lib/argp-help.c: Include <strings.h>.
* lib/regex_internal.h: Likewise.
Reported and suggested by Joachim Schmitz <jojo@schmitz-digital.de>.

ChangeLog
lib/argp-help.c
lib/regex_internal.h

index ebbc96b..a794591 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-06-26  Bruno Haible  <bruno@clisp.org>
+
+       argp, regex: Ensure strcasecmp gets declared.
+       * lib/argp-help.c: Include <strings.h>.
+       * lib/regex_internal.h: Likewise.
+       Reported and suggested by Joachim Schmitz <jojo@schmitz-digital.de>.
+
 2012-06-24  Bruno Haible  <bruno@clisp.org>
 
        ptsname_r: Make it consistent with ptsname on AIX.
index a126acb..c46703c 100644 (file)
@@ -29,6 +29,7 @@
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 #include <assert.h>
 #include <stdarg.h>
 #include <ctype.h>
index 2b9f697..64cef47 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 
 #include <langinfo.h>
 #ifndef _LIBC