mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
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).
This commit is contained in:
parent
b3ed19a55f
commit
e094d1d0f1
2 changed files with 0 additions and 2 deletions
|
@ -95,7 +95,6 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
|
||||||
#ifdef __QNX__
|
#ifdef __QNX__
|
||||||
compile error
|
compile error
|
||||||
#endif
|
#endif
|
||||||
#include <sys/types.h>
|
|
||||||
#ifdef HAVE_SYS_PARAM_H
|
#ifdef HAVE_SYS_PARAM_H
|
||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -88,7 +88,6 @@ main(void)
|
||||||
]])], [tuklib_cv_physmem_method=sysconf], [
|
]])], [tuklib_cv_physmem_method=sysconf], [
|
||||||
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
|
||||||
#include <sys/types.h>
|
|
||||||
#ifdef HAVE_SYS_PARAM_H
|
#ifdef HAVE_SYS_PARAM_H
|
||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue