summaryrefslogtreecommitdiffstats
path: root/patches/mgetty-1.1.36/0002-fix-building-on-arm64.patch
blob: cd91ebee926f62429877a8036079be9d6d3395e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Sun, 15 Jan 2017 12:06:11 +0100
Subject: [PATCH] fix building on arm64

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 mgetty.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mgetty.h b/mgetty.h
index 14845207421a..811e5519d1b4 100644
--- a/mgetty.h
+++ b/mgetty.h
@@ -198,7 +198,7 @@ typedef unsigned char uch;
  */
 #if defined(__alpha__) || defined(__sparc64__) || \
 	    defined(__ia64__) || defined(__s390x__) || defined(__x86_64__) || \
-	    defined(__powerpc64__)
+	    defined(__powerpc64__) || defined(__aarch64__)
 # define PTR_IS_LONG
 #endif