wmail: strcasecmp and strncasecmp are properly declared in strings.h.

This commit is contained in:
Jeremy Sowden 2019-06-07 09:52:12 +01:00 committed by Carlos R. Mafra
parent 6e495dfe47
commit 7f0d8d12e2
3 changed files with 7 additions and 1 deletions

View file

@ -10,7 +10,7 @@ dnl Checks for header files.
#AC_PATH_X
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS(limits.h sys/time.h)
AC_CHECK_HEADERS(limits.h strings.h sys/time.h)
dnl Checks for X installation root directory.
AC_PATH_XTRA

View file

@ -38,6 +38,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <limits.h>
#include "common.h"

View file

@ -46,6 +46,9 @@
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <signal.h>
#include <utime.h>
#include <fnmatch.h>