mirror of
https://github.com/topjohnwu/ndk-box-kitchen.git
synced 2024-11-23 11:29:45 +00:00
56 lines
1.7 KiB
Diff
56 lines
1.7 KiB
Diff
From fea349b03d474af1747ac271a4bc399560dc7868 Mon Sep 17 00:00:00 2001
|
|
From: Chris Renshaw <osm0sis@outlook.com>
|
|
Date: Thu, 3 Dec 2015 01:29:35 -0400
|
|
Subject: [PATCH 02/18] loadfont/setfont/conspy: add missing header
|
|
|
|
Imported from dorimanx's combined ported header toolchain:
|
|
https://github.com/dorimanx/android-busybox-ndk
|
|
---
|
|
include/sys/kd.h | 34 ++++++++++++++++++++++++++++++++++
|
|
1 file changed, 34 insertions(+)
|
|
create mode 100644 include/sys/kd.h
|
|
|
|
diff --git a/include/sys/kd.h b/include/sys/kd.h
|
|
new file mode 100644
|
|
index 000000000..8b8e56d4d
|
|
--- /dev/null
|
|
+++ b/include/sys/kd.h
|
|
@@ -0,0 +1,34 @@
|
|
+/* Copyright (C) 1996-2015 Free Software Foundation, Inc.
|
|
+ This file is part of the GNU C Library.
|
|
+
|
|
+ The GNU C Library is free software; you can redistribute it and/or
|
|
+ modify it under the terms of the GNU Lesser General Public
|
|
+ License as published by the Free Software Foundation; either
|
|
+ version 2.1 of the License, or (at your option) any later version.
|
|
+
|
|
+ The GNU C Library is distributed in the hope that it will be useful,
|
|
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
+ Lesser General Public License for more details.
|
|
+
|
|
+ You should have received a copy of the GNU Lesser General Public
|
|
+ License along with the GNU C Library; if not, see
|
|
+ <http://www.gnu.org/licenses/>. */
|
|
+
|
|
+#ifndef _SYS_KD_H
|
|
+#define _SYS_KD_H 1
|
|
+
|
|
+/* Make sure the <linux/types.h> header is not loaded. */
|
|
+#ifndef _LINUX_TYPES_H
|
|
+# define _LINUX_TYPES_H 1
|
|
+# define __undef_LINUX_TYPES_H
|
|
+#endif
|
|
+
|
|
+#include <linux/kd.h>
|
|
+
|
|
+#ifdef __undef_LINUX_TYPES_H
|
|
+# undef _LINUX_TYPES_H
|
|
+# undef __undef_LINUX_TYPES_H
|
|
+#endif
|
|
+
|
|
+#endif /* sys/kd.h */
|
|
--
|
|
2.46.0
|
|
|