diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-30 00:29:33 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-04-05 19:28:28 +0200 |
commit | 8acb143f454d84192a809e1ff785932b9d16e7e4 (patch) | |
tree | b89808a03a76f0df55cac79072e606cf322e195a /meta-oe/recipes-support/utouch/files | |
parent | 50c14d2535046e4d5bc5a00f4a3d171d9c5a053e (diff) | |
download | meta-openembedded-contrib-8acb143f454d84192a809e1ff785932b9d16e7e4.tar.gz |
utouch: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/utouch/files')
-rw-r--r-- | meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch b/meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch new file mode 100644 index 0000000000..f3c8eeb418 --- /dev/null +++ b/meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch @@ -0,0 +1,29 @@ +From 08b17ec505e09e8f5a4d73ffc3aa61561ec2e0da Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 30 Mar 2017 00:27:54 -0700 +Subject: [PATCH] include sys/stat.h for fixing build issue on musl + +error: field has incomplete + type 'struct stat' + struct stat fs; + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + tools/utouch-frame-test-mtdev.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/utouch-frame-test-mtdev.c b/tools/utouch-frame-test-mtdev.c +index 5253320..2032af4 100644 +--- a/tools/utouch-frame-test-mtdev.c ++++ b/tools/utouch-frame-test-mtdev.c +@@ -30,6 +30,7 @@ + #include <stdio.h> + #include <unistd.h> + #include <fcntl.h> ++#include <sys/stat.h> + #include "common-defs.h" + + struct frame_test { +-- +2.12.1 + |