summaryrefslogtreecommitdiff
path: root/lib/fsm.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-05 13:29:52 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-05 13:29:52 +0200
commit6109d6388e44fc5070b98c9bf2f74df84c3ec700 (patch)
treeed513a5d9cced80fd587518bd1461f3ef03c3192 /lib/fsm.c
parent0ff81ace79432c9a3254722f734fa931bb8bff1e (diff)
downloadrpm-6109d6388e44fc5070b98c9bf2f74df84c3ec700.tar.gz
rpm-6109d6388e44fc5070b98c9bf2f74df84c3ec700.tar.bz2
rpm-6109d6388e44fc5070b98c9bf2f74df84c3ec700.zip
Remove libcap stuff out of system.h
- just a few places need, avoid polluting everything with it - make fsm->fcaps void * to avoid having to deal with fcap_t not defined
Diffstat (limited to 'lib/fsm.c')
-rw-r--r--lib/fsm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fsm.c b/lib/fsm.c
index fc972a071..946c7af4c 100644
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -9,6 +9,9 @@
#if defined(HAVE_MMAP)
#include <sys/mman.h>
#endif
+#if WITH_CAP
+#include <sys/capability.h>
+#endif
#include <rpm/rpmte.h>
#include <rpm/rpmts.h>