summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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"