summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rpmrc.c4
-rw-r--r--system.h4
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
diff --git a/system.h b/system.h
index da006b4a8..71a4999ae 100644
--- a/system.h
+++ b/system.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