From 67075e22f9e54a3e42ede967f12b63394203ce52 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 19 Mar 2021 14:44:07 +0100 Subject: [PATCH] [C90] stdlib.h --- config2.h.in | 3 --- meson.build | 1 - src/intl/gettext/localcharset.c | 2 -- 3 files changed, 6 deletions(-) diff --git a/config2.h.in b/config2.h.in index 93ea2b4b..589906dc 100644 --- a/config2.h.in +++ b/config2.h.in @@ -645,9 +645,6 @@ /* Define to 1 if you have the header file. */ #mesondefine HAVE_STDINT_H -/* Define to 1 if you have the header file. */ -#mesondefine HAVE_STDLIB_H - /* Define to 1 if you have the `stpcpy' function. */ #mesondefine HAVE_STPCPY diff --git a/meson.build b/meson.build index d6b7c4dc..f79020d6 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_STDLIB_H', compiler.has_header('stdlib.h')) conf_data.set10('HAVE_STRING_H', compiler.has_header('string.h')) conf_data.set10('HAVE_ALLOCA_H', compiler.has_header('alloca.h')) diff --git a/src/intl/gettext/localcharset.c b/src/intl/gettext/localcharset.c index 95e05bf2..7323e7c7 100644 --- a/src/intl/gettext/localcharset.c +++ b/src/intl/gettext/localcharset.c @@ -31,9 +31,7 @@ #else #include #endif -#if HAVE_STDLIB_H #include -#endif #if defined _WIN32 || defined __WIN32__ #undef WIN32 /* avoid warning on mingw32 */