Move libacl.h include out of system.h to the only place that cares
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 5 Jan 2010 09:52:56 +0000 (11:52 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 5 Jan 2010 09:52:56 +0000 (11:52 +0200)
lib/verify.c
system.h

index c905302..d3e67a9 100644 (file)
@@ -5,6 +5,10 @@
 
 #include "system.h"
 
+#if WITH_ACL
+#include <acl/libacl.h>
+#endif
+
 #include <rpm/rpmcli.h>
 #include <rpm/header.h>
 #include <rpm/rpmlog.h>
index 664b269..bbdcb48 100644 (file)
--- a/system.h
+++ b/system.h
@@ -151,10 +151,6 @@ typedef    char * security_context_t;
 typedef void * cap_t;
 #endif
 
-#if WITH_ACL
-#include <acl/libacl.h>
-#endif
-
 #if HAVE_MCHECK_H
 #include <mcheck.h>
 #endif /* HAVE_MCHECK_H */