chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nspawn: Include netlink headers rather than using #ifdef
[elogind.git]
/
src
/
nspawn
/
nspawn.c
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index b91b0b8a91f4bccc9011028e20a101bb9506fbf7..95d76eb3c3f51bed2a9f6d472e62ce8d8a3f1d13 100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-39,6
+39,7
@@
#include <sys/signalfd.h>
#include <grp.h>
#include <linux/fs.h>
+#include <linux/netlink.h>
#include <sys/un.h>
#include <sys/socket.h>
@@
-1227,7
+1228,6
@@
static bool audit_enabled(void) {
close_nointr_nofail(fd);
return true;
}
-
return false;
}