aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-07-03 11:25:26 -0700
committerGerd Hoffmann <gerd@kraxel.org>2023-09-19 12:11:45 +0200
commit6594fbe9c88c235b1d3f1d04a7b94560bc34781f (patch)
treeed1d544d7be34bac651cac2de9a21ed54c04ea2f
parent0aec15e7201d37d5b8e365b0274d4dec1f3ebe54 (diff)
downloadfbida-6594fbe9c88c235b1d3f1d04a7b94560bc34781f.tar.gz
fbida: Include missing <sys/types.h>
Fixes build on musl ../git/gfx.h:43:5: error: unknown type name 'dev_t'; did you mean 'div_t'? dev_t devnum; ^~~~~ div_t TOPDIR/build/tmp/work/cortexa57-yoe-linux-musl/fbida/2.14+gitAUTOINC+eb769e3d7f-r0/recipe-sysroot/usr/include/stdlib.h:64:35: note: 'div_t' declared here typedef struct { int quot, rem; } div_t; ^ 1 error generated Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.h b/gfx.h
index e6057b4..630cfd2 100644
--- a/gfx.h
+++ b/gfx.h
@@ -1,6 +1,6 @@
#include <stdbool.h>
#include <inttypes.h>
-#include <sys/stat.h> /* dev_t */
+#include <sys/types.h> /* dev_t */
#include <pixman.h>
#include <cairo.h>