summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-openembedded/meta-oe/recipes-support/utouch/files/0001-include-sys-stat.h-for-fixing-build-issue-on-musl.patch
blob: f3c8eeb418947e00723715de5a736d253cd6b5ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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

OpenPOWER on IntegriCloud