]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
21e4ed4d205865c3a80775802221f80fa4676536
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From f242740f6488a25e6ca84968b0e2319a9a3975b4 Mon Sep 17 00:00:00 2001
2 From: Khem Raj <raj.khem@gmail.com>
3 Date: Mon, 6 Apr 2015 20:52:50 -0700
4 Subject: [PATCH] use __GLIBC__ guard for glibc specific code
5
6 Using __linux__ is a tad bit wrong assumption since
7 linux != glibc
8
9 Upstream-Status: Pending
10
11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 ---
13 hw/xfree86/os-support/xf86_OSlib.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/hw/xfree86/os-support/xf86_OSlib.h b/hw/xfree86/os-support/xf86_OSlib.h
17 index eb0a338..c366ffc 100644
18 --- a/hw/xfree86/os-support/xf86_OSlib.h
19 +++ b/hw/xfree86/os-support/xf86_OSlib.h
20 @@ -178,7 +178,7 @@
21 #include <sys/types.h>
22 #include <assert.h>
23
24 -#ifdef __linux__
25 +#ifdef __GLIBC__
26 #include <termio.h>
27 #else /* __GLIBC__ */
28 #include <termios.h>
29 --
30 2.1.4
31