check for strings.h in configure and use it for the strcasecmp() proto

This commit is contained in:
Daniel Stenberg 2008-05-08 22:11:38 +00:00
parent d4e9b141db
commit 6df5dddd90
6 changed files with 16 additions and 0 deletions

View File

@ -36,6 +36,9 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "ares.h"
#include "ares_private.h"

View File

@ -29,6 +29,9 @@
#include <arpa/nameser_compat.h>
#endif
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <stdlib.h>
#include <string.h>

View File

@ -31,6 +31,9 @@
#include <arpa/nameser_compat.h>
#endif
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <stdlib.h>
#include <string.h>

View File

@ -28,6 +28,9 @@
#include <arpa/nameser_compat.h>
#endif
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <stdlib.h>
#include <string.h>

View File

@ -44,6 +44,9 @@
#endif
#endif /* WIN32 && !WATT32 */
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

View File

@ -383,6 +383,7 @@ AC_CHECK_HEADERS(
netinet/tcp.h \
net/if.h \
errno.h \
strings.h \
stdbool.h \
arpa/nameser.h \
arpa/nameser_compat.h \