blob: f3c8eeb418947e00723715de5a736d253cd6b5ad [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 08b17ec505e09e8f5a4d73ffc3aa61561ec2e0da Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 30 Mar 2017 00:27:54 -0700
4Subject: [PATCH] include sys/stat.h for fixing build issue on musl
5
6error: field has incomplete
7 type 'struct stat'
8 struct stat fs;
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 tools/utouch-frame-test-mtdev.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/tools/utouch-frame-test-mtdev.c b/tools/utouch-frame-test-mtdev.c
16index 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--
282.12.1
29