From a3393654f6ec49e012f9c79e7350a087340c4468 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 14 Jun 2017 19:54:38 -0400 Subject: Remove cmake checks for C89 headers. These are roughly equivalent to autoconf's AC_HEADER_STDC and even they say that macro is obsolescent. strings.h is not really a C89 header, but it defined some things that are no longer needed [1]. And no file actually #includes it. [1] https://stackoverflow.com/a/4291328 --- src/trace/trace.h | 2 -- src/xml/repr-util.cpp | 4 ---- 2 files changed, 6 deletions(-) (limited to 'src') diff --git a/src/trace/trace.h b/src/trace/trace.h index f562e89aa..4bf13123b 100644 --- a/src/trace/trace.h +++ b/src/trace/trace.h @@ -13,9 +13,7 @@ # include "config.h" #endif -#ifdef HAVE_STRING_H # include -#endif #include #include diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp index 4d093a4ea..6da1233db 100644 --- a/src/xml/repr-util.cpp +++ b/src/xml/repr-util.cpp @@ -17,13 +17,9 @@ #include "config.h" -#if HAVE_STRING_H # include -#endif -#if HAVE_STDLIB_H # include -#endif #include -- cgit v1.2.3