summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/selinux-access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c
index 0ecbdf0be6..282cfd21ee 100644
--- a/src/core/selinux-access.c
+++ b/src/core/selinux-access.c
@@ -29,6 +29,7 @@
#include <limits.h>
#include <selinux/selinux.h>
#include <selinux/avc.h>
+#include <sys/socket.h>
#ifdef HAVE_AUDIT
#include <libaudit.h>
#endif