sysklogd: fix build on musl
[buildroot-gz.git] / package / mtdev2tuio / 0001-Fix-build-with-musl-libc.patch
blob810b66c61bbd31d551498a34e3721e0a2c8b4134
1 From f974bb1f92603973711bea36a7869dfa8358aae0 Mon Sep 17 00:00:00 2001
2 From: Bernd Kuhls <bernd.kuhls@t-online.de>
3 Date: Sun, 31 Jan 2016 09:04:46 +0100
4 Subject: [PATCH 1/1] Fix build with musl libc
6 Include missing header to prevent build error detected by buildroot:
7 http://autobuild.buildroot.net/results/aee/aee411047265bf205f8990a3d0d2310decb5fd19/build-end.log
9 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
10 ---
11 Patch sent upstream: https://github.com/olivopaolo/mtdev2tuio/pull/2
13 mtdev2tuio.c | 1 +
14 1 file changed, 1 insertion(+)
16 diff --git a/mtdev2tuio.c b/mtdev2tuio.c
17 index 3a9174f..f2c98d5 100644
18 --- a/mtdev2tuio.c
19 +++ b/mtdev2tuio.c
20 @@ -41,6 +41,7 @@
21 #include <getopt.h>
22 #include <signal.h>
23 #include <sys/utsname.h>
24 +#include <sys/file.h>
26 #define NSEC_PER_USEC 1000L
27 #define NSEC_PER_SEC 1000000000L
28 --
29 2.7.0.rc3