diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-12-23 13:31:57 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-12-23 13:31:57 +0200 |
commit | f70b1c76d51dd2e32ff48ab75b1fa4b06d582f4f (patch) | |
tree | 50a7a92d95c42d781cbe318f777ea8990010cdcc | |
parent | a39dc445fc0ccf03e22189699e4d6256658536f0 (diff) | |
download | rpm-f70b1c76d51dd2e32ff48ab75b1fa4b06d582f4f.tar.gz |
Only rpmrc.c cares about utsname.h, move out of system.h
-rw-r--r-- | lib/rpmrc.c | 4 | ||||
-rw-r--r-- | system.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c index 0818deb57..08df74eee 100644 --- a/lib/rpmrc.c +++ b/lib/rpmrc.c @@ -5,6 +5,10 @@ #include <setjmp.h> #endif +#if HAVE_SYS_UTSNAME_H +#include <sys/utsname.h> +#endif + #include <ctype.h> /* XXX for /etc/rpm/platform contents */ #if HAVE_SYS_SYSTEMCFG_H @@ -151,10 +151,6 @@ char *realpath(const char *path, char resolved_path []); #include <sys/mman.h> #endif -#if HAVE_SYS_UTSNAME_H -#include <sys/utsname.h> -#endif - #if HAVE_SYS_WAIT_H #include <sys/wait.h> #endif |