From f70b1c76d51dd2e32ff48ab75b1fa4b06d582f4f Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 23 Dec 2009 13:31:57 +0200 Subject: [PATCH] Only rpmrc.c cares about utsname.h, move out of system.h --- lib/rpmrc.c | 4 ++++ system.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/rpmrc.c b/lib/rpmrc.c index 0818deb..08df74e 100644 --- a/lib/rpmrc.c +++ b/lib/rpmrc.c @@ -5,6 +5,10 @@ #include #endif +#if HAVE_SYS_UTSNAME_H +#include +#endif + #include /* XXX for /etc/rpm/platform contents */ #if HAVE_SYS_SYSTEMCFG_H diff --git a/system.h b/system.h index da006b4..71a4999 100644 --- a/system.h +++ b/system.h @@ -151,10 +151,6 @@ char *realpath(const char *path, char resolved_path []); #include #endif -#if HAVE_SYS_UTSNAME_H -#include -#endif - #if HAVE_SYS_WAIT_H #include #endif -- 2.7.4