diff --git a/config2.h.in b/config2.h.in index 589906dc..5546751b 100644 --- a/config2.h.in +++ b/config2.h.in @@ -669,9 +669,6 @@ /* Define to 1 if you have the header file. */ #mesondefine HAVE_STRINGS_H -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_STRING_H - /* Define to 1 if you have the `strncasecmp' function. */ #mesondefine HAVE_STRNCASECMP diff --git a/meson.build b/meson.build index f79020d6..94a20696 100644 --- a/meson.build +++ b/meson.build @@ -200,7 +200,6 @@ conf_data.set('HAVE_IDNA_H', compiler.has_header('idna.h')) conf_data.set('HAVE_EVENT_H', compiler.has_header('event.h')) -conf_data.set10('HAVE_STRING_H', compiler.has_header('string.h')) conf_data.set10('HAVE_ALLOCA_H', compiler.has_header('alloca.h')) conf_data.set('HAVE_STDALIGN_H', compiler.has_header('stdalign.h')) diff --git a/src/intl/gettext/localcharset.c b/src/intl/gettext/localcharset.c index 7323e7c7..59d76bcc 100644 --- a/src/intl/gettext/localcharset.c +++ b/src/intl/gettext/localcharset.c @@ -26,11 +26,7 @@ #include #include -#if HAVE_STRING_H #include -#else -#include -#endif #include #if defined _WIN32 || defined __WIN32__ diff --git a/src/protocol/ftp/parse.c b/src/protocol/ftp/parse.c index 06ee068f..adc58048 100644 --- a/src/protocol/ftp/parse.c +++ b/src/protocol/ftp/parse.c @@ -10,11 +10,8 @@ #include #include #include -#ifdef HAVE_STRING_H -# include -#else -# include -#endif +#include + #ifdef HAVE_UNISTD_H # include #endif