summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-04 08:55:07 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-04 08:55:07 +0200
commit9cf8f9c31ad81d45cd206bad5df98fc8b75a5333 (patch)
treed19f70fbfa9a17b4e0cdcf7b42240fce604b155d
parent70ed33417d1d122bfc434d106824a9035dea9463 (diff)
downloadrpm-9cf8f9c31ad81d45cd206bad5df98fc8b75a5333.tar.gz
rpm-9cf8f9c31ad81d45cd206bad5df98fc8b75a5333.tar.bz2
rpm-9cf8f9c31ad81d45cd206bad5df98fc8b75a5333.zip
Stop checking for machine/types.h (Private header of some OSes not supposed to be used).
-rw-r--r--configure.ac1
-rw-r--r--lib/rpmlead.c4
-rw-r--r--rpmio/rpmio.c4
3 files changed, 0 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 3431e8361..0d9fb6459 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 1de8d8c59..6c5197ae0 100644
--- a/lib/rpmlead.c
+++ b/lib/rpmlead.c
@@ -4,10 +4,6 @@
#include "system.h"
-#if HAVE_MACHINE_TYPES_H
-# include <machine/types.h>
-#endif
-
#include <netinet/in.h>
#include <rpmlib.h>
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
index cd6312a65..bdd7ac23e 100644
--- a/rpmio/rpmio.c
+++ b/rpmio/rpmio.c
@@ -5,10 +5,6 @@
#include "system.h"
#include <stdarg.h>
-#if HAVE_MACHINE_TYPES_H
-# include <machine/types.h>
-#endif
-
#if HAVE_LIBIO_H && defined(_G_IO_IO_FILE_VERSION)
#define _USE_LIBIO 1
#endif