]> Savannah Git Hosting - gnulib.git/commitdiff
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 ebbc96ba90bfde2e6f5f2ff061624b782bfca17e..a7945910d75fe757513ffd698adcb3534f7c4732 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 a126acb9bab2e4802c70851f334c9e679fb61f89..c46703c03b5b4ea07f7ce9ab33bb71f5d97fc068 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 2b9f69756ead0233320d59fae9680ed43a232a0f..64cef470e8dc9fd7bbd0da66b97ad76173c8c0b9 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 
 #include <langinfo.h>
 #ifndef _LIBC