summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2017-04-19 08:30:08 +1000
committerJames Morris <james.l.morris@oracle.com>2017-04-19 08:30:08 +1000
commitfa5b5b26e25cbab819e0955f948e8a6d5363f06f (patch)
tree1dfb743d934832546a5b3e7cfd02d83c1736c051 /scripts
parent30a83251dd8b7e3566be9ea8c4921bafc21bee8f (diff)
parentcae303df3f379f04ce7efadb2e30de460918b302 (diff)
downloadlinux-rpi-fa5b5b26e25cbab819e0955f948e8a6d5363f06f.tar.gz
linux-rpi-fa5b5b26e25cbab819e0955f948e8a6d5363f06f.tar.bz2
linux-rpi-fa5b5b26e25cbab819e0955f948e8a6d5363f06f.zip
Merge branch 'stable-4.12' of git://git.infradead.org/users/pcmoore/selinux into next
Diffstat (limited to 'scripts')
-rw-r--r--scripts/selinux/genheaders/genheaders.c1
-rw-r--r--scripts/selinux/mdp/mdp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/selinux/genheaders/genheaders.c b/scripts/selinux/genheaders/genheaders.c
index f4dd41f900d5..6a24569c3578 100644
--- a/scripts/selinux/genheaders/genheaders.c
+++ b/scripts/selinux/genheaders/genheaders.c
@@ -8,6 +8,7 @@
#include <string.h>
#include <errno.h>
#include <ctype.h>
+#include <sys/socket.h>
struct security_class_mapping {
const char *name;
diff --git a/scripts/selinux/mdp/mdp.c b/scripts/selinux/mdp/mdp.c
index c29fa4a6228d..ffe8179f5d41 100644
--- a/scripts/selinux/mdp/mdp.c
+++ b/scripts/selinux/mdp/mdp.c
@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#include <sys/socket.h>
static void usage(char *name)
{