Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From 08b17ec505e09e8f5a4d73ffc3aa61561ec2e0da Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 30 Mar 2017 00:27:54 -0700 |
| 4 | Subject: [PATCH] include sys/stat.h for fixing build issue on musl |
| 5 | |
| 6 | error: field has incomplete |
| 7 | type 'struct stat' |
| 8 | struct stat fs; |
| 9 | |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | tools/utouch-frame-test-mtdev.c | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/tools/utouch-frame-test-mtdev.c b/tools/utouch-frame-test-mtdev.c |
| 16 | index 5253320..2032af4 100644 |
| 17 | --- a/tools/utouch-frame-test-mtdev.c |
| 18 | +++ b/tools/utouch-frame-test-mtdev.c |
| 19 | @@ -30,6 +30,7 @@ |
| 20 | #include <stdio.h> |
| 21 | #include <unistd.h> |
| 22 | #include <fcntl.h> |
| 23 | +#include <sys/stat.h> |
| 24 | #include "common-defs.h" |
| 25 | |
| 26 | struct frame_test { |
| 27 | -- |
| 28 | 2.12.1 |
| 29 | |