From: Ralf Corsépius Date: Thu, 4 Oct 2007 06:55:07 +0000 (+0200) Subject: Stop checking for machine/types.h (Private header of some OSes not supposed to be... X-Git-Tag: rpm-4.6.0-rc1~1737 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9cf8f9c31ad81d45cd206bad5df98fc8b75a5333;p=platform%2Fupstream%2Frpm.git Stop checking for machine/types.h (Private header of some OSes not supposed to be used). --- diff --git a/configure.ac b/configure.ac index 3431e83..0d9fb64 100644 --- a/configure.ac +++ b/configure.ac @@ -548,7 +548,6 @@ AC_CHECK_HEADERS(sys/types.h sys/stdtypes.h) AC_CHECK_HEADERS(sys/mman.h sys/resource.h sys/utsname.h sys/wait.h) AC_CHECK_HEADERS(netinet/in_systm.h) -AC_CHECK_HEADERS(machine/types.h) AC_CHECK_HEADERS(mntent.h sys/mnttab.h sys/systemcfg.h) AC_CHECK_HEADERS(sys/mount.h sys/mntctl.h sys/param.h sys/vmount.h) AC_CHECK_HEADERS(libio.h) diff --git a/lib/rpmlead.c b/lib/rpmlead.c index 1de8d8c..6c5197a 100644 --- a/lib/rpmlead.c +++ b/lib/rpmlead.c @@ -4,10 +4,6 @@ #include "system.h" -#if HAVE_MACHINE_TYPES_H -# include -#endif - #include #include diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c index cd6312a..bdd7ac2 100644 --- a/rpmio/rpmio.c +++ b/rpmio/rpmio.c @@ -5,10 +5,6 @@ #include "system.h" #include -#if HAVE_MACHINE_TYPES_H -# include -#endif - #if HAVE_LIBIO_H && defined(_G_IO_IO_FILE_VERSION) #define _USE_LIBIO 1 #endif