xref: /OK3568_Linux_fs/buildroot/package/fbset/0001-Fix-musl-compile.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 6d42be24b62b94df8e2f01956842b7ee4b640e97 Mon Sep 17 00:00:00 2001
2From: Peter Seiderer <ps.report@gmx.net>
3Date: Mon, 11 Jul 2016 22:07:42 +0200
4Subject: [PATCH] Fix musl compile.
5
6Unconditional include <asm/types.h> for __u32 type.
7
8Fixes:
9
10  error: unknown type name '__u32'
11
12Signed-off-by: Peter Seiderer <ps.report@gmx.net>
13---
14 fbset.h | 2 --
15 1 file changed, 2 deletions(-)
16
17diff --git a/fbset.h b/fbset.h
18index 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>
24
25-#ifdef __GLIBC__
26 #include <asm/types.h>
27-#endif
28
29 #define VERSION         "Linux Frame Buffer Device Configuration " \
30 			"Version 2.1 (23/06/1999)\n"  \
31--
322.8.1
33
34