blob: 7f45dbea828457f18f4e56d40c295f67d0c262e5 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 06edd88833da93361d5408b880fbb890df332497 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 19 Jan 2016 01:55:47 +0000
4Subject: [PATCH] fbset: including asm/types.h is needed on all linux systems
5
6including asm/types.h is needed to get Linux typedef's like
7__s32 and so on which are independent of C library therefore this
8define should not be guarded by __GLIBC__ but by __linux__
9
10Helps to compile it on musl systems
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14Upstream-Status: Pending
15
16 fbset.h | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/fbset.h b/fbset.h
20index 9b1d2ac..0d8def8 100644
21--- a/fbset.h
22+++ b/fbset.h
23@@ -15,7 +15,7 @@
24 #include <stdio.h>
25 #include <sys/types.h>
26
27-#ifdef __GLIBC__
28+#ifdef __linux__
29 #include <asm/types.h>
30 #endif
31
32--
332.7.0
34