summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2014-09-02 21:20:24 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-09-02 17:31:39 -0400
commit390e0c7ba0a56cba7b05b7d35bcb484fc29542fb (patch)
treea96a4227b9eb502e1241e63d30df8ed46c958924
parentd8876913e81f562e3d21f99a487392f963718f83 (diff)
src/shared/label.c: include selinux headers
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
-rw-r--r--src/shared/label.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/label.c b/src/shared/label.c
index 3c6277a3ad..e674241bfe 100644
--- a/src/shared/label.c
+++ b/src/shared/label.c
@@ -23,6 +23,11 @@
#include <sys/socket.h>
#include <sys/un.h>
+#ifdef HAVE_SELINUX
+#include <selinux/selinux.h>
+#include <selinux/label.h>
+#endif
+
#include "label.h"
#include "util.h"
#include "path-util.h"