diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-07-03 11:25:26 -0700 |
---|---|---|
committer | Gerd Hoffmann <gerd@kraxel.org> | 2023-09-19 12:11:45 +0200 |
commit | 6594fbe9c88c235b1d3f1d04a7b94560bc34781f (patch) | |
tree | ed1d544d7be34bac651cac2de9a21ed54c04ea2f /gfx.h | |
parent | 0aec15e7201d37d5b8e365b0274d4dec1f3ebe54 (diff) | |
download | fbida-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>
Diffstat (limited to 'gfx.h')
-rw-r--r-- | gfx.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |