From e094d1d0f196a91ec703e8d0055948feef349ae8 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 24 Feb 2020 23:29:35 +0200 Subject: [PATCH] tuklib: Omit an unneeded from a tests. tuklib_cpucores.c and tuklib_physmem.c don't include even via other files in this package, so clearly that header isn't needed in the tests either (no one has reported build problems due to a missing header in a .c file). --- m4/tuklib_cpucores.m4 | 1 - m4/tuklib_physmem.m4 | 1 - 2 files changed, 2 deletions(-) diff --git a/m4/tuklib_cpucores.m4 b/m4/tuklib_cpucores.m4 index a2b09a72..63063982 100644 --- a/m4/tuklib_cpucores.m4 +++ b/m4/tuklib_cpucores.m4 @@ -95,7 +95,6 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #ifdef __QNX__ compile error #endif -#include #ifdef HAVE_SYS_PARAM_H # include #endif diff --git a/m4/tuklib_physmem.m4 b/m4/tuklib_physmem.m4 index 8a57ca29..59317859 100644 --- a/m4/tuklib_physmem.m4 +++ b/m4/tuklib_physmem.m4 @@ -88,7 +88,6 @@ main(void) ]])], [tuklib_cv_physmem_method=sysconf], [ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ -#include #ifdef HAVE_SYS_PARAM_H # include #endif