aboutsummaryrefslogtreecommitdiff
path: root/m4/tuklib_physmem.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/tuklib_physmem.m4
parentliblzma: Remove unneeded <sys/types.h> from fastpos_tablegen.c. (diff)
downloadxz-e094d1d0f196a91ec703e8d0055948feef349ae8.tar.xz
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 '')
-rw-r--r--m4/tuklib_physmem.m41
1 files changed, 0 insertions, 1 deletions
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 <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif