summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-02-24 23:29:35 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-02-24 23:34:58 +0200
commite094d1d0f196a91ec703e8d0055948feef349ae8 (patch)
tree97c437c37cb2a3c7fc0f8c52ba85356774b72c78 /m4
parentb3ed19a55fe99a45bd77614e149d39d18498075c (diff)
downloadxz-e094d1d0f196a91ec703e8d0055948feef349ae8.tar.gz
tuklib: Omit an unneeded <sys/types.h> from a tests.
tuklib_cpucores.c and tuklib_physmem.c don't include <sys/types.h> 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).
Diffstat (limited to 'm4')
-rw-r--r--m4/tuklib_cpucores.m41
-rw-r--r--m4/tuklib_physmem.m41
2 files changed, 0 insertions, 2 deletions
diff --git a/m4/tuklib_cpucores.m4 b/m4/tuklib_cpucores.m4
index a2b09a7..6306398 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 <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
diff --git a/m4/tuklib_physmem.m4 b/m4/tuklib_physmem.m4
index 8a57ca2..5931785 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 <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif