diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2016-01-22 10:23:37 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-02-17 19:29:23 +0100 |
commit | 68d73dba9ea52b177f2e317b0e38da1672798407 (patch) | |
tree | dd30fa985a86f5b6e647207b08fc061dcaa8fd79 /package/pptp-linux | |
parent | e173aeece51852d652c557546d9944ee42c91e4f (diff) | |
download | buildroot-68d73dba9ea52b177f2e317b0e38da1672798407.tar.gz buildroot-68d73dba9ea52b177f2e317b0e38da1672798407.zip |
pptp-linux: add musl build fix patch
Fixes:
http://autobuild.buildroot.net/results/56d/56dd530d53489220d0080480310b8dc150cf1b2e/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pptp-linux')
-rw-r--r-- | package/pptp-linux/0003-pqueue.h-include-sys-types.h.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/pptp-linux/0003-pqueue.h-include-sys-types.h.patch b/package/pptp-linux/0003-pqueue.h-include-sys-types.h.patch new file mode 100644 index 0000000000..d6b5445fa9 --- /dev/null +++ b/package/pptp-linux/0003-pqueue.h-include-sys-types.h.patch @@ -0,0 +1,30 @@ +From 060ad28b9ca5e99d7c6e8010132da58a3a8a0585 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <gustavo@zacarias.com.ar> +Date: Fri, 22 Jan 2016 10:19:18 -0300 +Subject: [PATCH] pqueue.h: include sys/types.h + +We're using u_int32_t here, this breaks on musl libc builds otherwise. + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- +Patch status: sent upstream to the devel mailing list +(moderated, no archive link yet) + + pqueue.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pqueue.h b/pqueue.h +index a56590f..8c60c62 100644 +--- a/pqueue.h ++++ b/pqueue.h +@@ -3,6 +3,7 @@ + + #include <time.h> + #include <sys/time.h> ++#include <sys/types.h> + + /* wait this many seconds for missing packets before forgetting about them */ + #define DEFAULT_PACKET_TIMEOUT 0.3 +-- +2.4.10 + |