systemd: fix build with older kernel(headers)

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-02-21 04:02:27 +01:00
parent f3076f0cbd
commit ccb83fac7a

View File

@ -0,0 +1,11 @@
diff -Naur systemd-209/src/shared/missing.h systemd-209.patch/src/shared/missing.h
--- systemd-209/src/shared/missing.h 2014-02-19 16:23:43.000000000 +0100
+++ systemd-209.patch/src/shared/missing.h 2014-02-21 03:45:26.766549911 +0100
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <linux/oom.h>
#include <linux/input.h>
+#include <sys/socket.h>
#include <linux/if_link.h>
#ifdef HAVE_AUDIT