Avoid exposing libmagic dependency in public headers
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 8 Dec 2009 14:22:42 +0000 (16:22 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 8 Dec 2009 14:22:42 +0000 (16:22 +0200)
build/rpmfc.c
build/rpmfc.h

index e6f020f..ac19e82 100644 (file)
@@ -1,6 +1,8 @@
 #include "system.h"
 
 #include <signal.h>
+#include <magic.h>
+
 #if HAVE_GELF_H
 #include <gelf.h>
 
index 96cb93f..87f9f13 100644 (file)
@@ -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 */