summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/rpmfc.c2
-rw-r--r--build/rpmfc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/rpmfc.c b/build/rpmfc.c
index e6f020fa4..ac19e8229 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
@@ -1,6 +1,8 @@
#include "system.h"
#include <signal.h>
+#include <magic.h>
+
#if HAVE_GELF_H
#include <gelf.h>
diff --git a/build/rpmfc.h b/build/rpmfc.h
index 96cb93f50..87f9f1336 100644
--- a/build/rpmfc.h
+++ b/build/rpmfc.h
@@ -6,8 +6,6 @@
* Structures and methods for build-time file classification.
*/
-#include <magic.h>
-
#include <rpm/rpmtypes.h>
#include <rpm/argv.h> /* for ARGV_t */
#include <rpm/rpmstring.h> /* for StringBuf */