board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / fbset / 0001-Fix-musl-compile.patch
blob65d84c57774117f5102683e0ce63f72bba03bec6
1 From 6d42be24b62b94df8e2f01956842b7ee4b640e97 Mon Sep 17 00:00:00 2001
2 From: Peter Seiderer <ps.report@gmx.net>
3 Date: Mon, 11 Jul 2016 22:07:42 +0200
4 Subject: [PATCH] Fix musl compile.
6 Unconditional include <asm/types.h> for __u32 type.
8 Fixes:
10 error: unknown type name '__u32'
12 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
13 ---
14 fbset.h | 2 --
15 1 file changed, 2 deletions(-)
17 diff --git a/fbset.h b/fbset.h
18 index 9b1d2ac..3c511e1 100644
19 --- a/fbset.h
20 +++ b/fbset.h
21 @@ -15,9 +15,7 @@
22 #include <stdio.h>
23 #include <sys/types.h>
25 -#ifdef __GLIBC__
26 #include <asm/types.h>
27 -#endif
29 #define VERSION "Linux Frame Buffer Device Configuration " \
30 "Version 2.1 (23/06/1999)\n" \
31 --
32 2.8.1