summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-06-04 14:27:08 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-05 12:41:45 +0200
commite931894be7a3cbd4c9cb96d476df20354cb7bdc4 (patch)
tree11cc1fe31cafdd174e056bfc92790dcd65b8db1e
parent0494e10ea69d853dff0b8cf8492e31cb2669361b (diff)
downloadptxdist-e931894be7a3cbd4c9cb96d476df20354cb7bdc4.tar.gz
ptxdist-e931894be7a3cbd4c9cb96d476df20354cb7bdc4.tar.xz
systemd: fix sctp.h detection
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--patches/systemd-230/0010-HACK-fix-building-without-linux-sctp.h.patch13
1 files changed, 8 insertions, 5 deletions
diff --git a/patches/systemd-230/0010-HACK-fix-building-without-linux-sctp.h.patch b/patches/systemd-230/0010-HACK-fix-building-without-linux-sctp.h.patch
index 640acba5a..9b91c74b1 100644
--- a/patches/systemd-230/0010-HACK-fix-building-without-linux-sctp.h.patch
+++ b/patches/systemd-230/0010-HACK-fix-building-without-linux-sctp.h.patch
@@ -8,19 +8,22 @@ Upstream requires kernel 3.11 but this is useful for host-systemd.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
- configure.ac | 1 +
+ configure.ac | 4 ++++
src/core/socket.c | 4 ++++
- 2 files changed, 5 insertions(+)
+ 2 files changed, 8 insertions(+)
diff --git a/configure.ac b/configure.ac
-index 650a5be1edf2..f7eb2c4f963f 100644
+index 650a5be1edf2..2edcd7f28f0e 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -292,6 +292,7 @@ AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers n
+@@ -292,6 +292,10 @@ AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers n
AC_CHECK_HEADERS([linux/btrfs.h], [], [])
AC_CHECK_HEADERS([linux/memfd.h], [], [])
AC_CHECK_HEADERS([uchar.h], [], [])
-+AC_CHECK_HEADERS([linux/sctp.h], [], [])
++AC_CHECK_HEADERS([linux/sctp.h], [], [], [
++#include <stdint.h>
++#include <sys/socket.h>
++])
# unconditionally pull-in librt with old glibc versions
AC_SEARCH_LIBS([clock_gettime], [rt], [], [])