summaryrefslogtreecommitdiff
path: root/package/screen/patches/patch-screen_h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-03-08 05:33:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-17 04:00:52 +0100
commiteccb31b237e16f75b0b60b5bfa18501823d7b2c3 (patch)
treea79de6d0a526710888a37879a10f4e6b496b7ce6 /package/screen/patches/patch-screen_h
parent0d4977ea5f774732a6fbb45395c28eb0242da937 (diff)
package/screen: fix build
The problem is, sched.h is found in the local directory and therefore falsely included from system headers. This probably has something to do with openadk relying on builtin header inclusion in gcc instead of specifying them explicitly. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/screen/patches/patch-screen_h')
-rw-r--r--package/screen/patches/patch-screen_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/screen/patches/patch-screen_h b/package/screen/patches/patch-screen_h
new file mode 100644
index 000000000..ef6e5ea54
--- /dev/null
+++ b/package/screen/patches/patch-screen_h
@@ -0,0 +1,11 @@
+--- screen-4.2.1.orig/screen.h 2014-04-28 00:08:06.000000000 +0200
++++ screen-4.2.1/screen.h 2015-02-19 02:36:51.299000393 +0100
+@@ -43,7 +43,7 @@
+ #include "osdef.h"
+
+ #include "ansi.h"
+-#include "sched.h"
++#include "my_sched.h"
+ #include "acls.h"
+ #include "comm.h"
+ #include "layer.h"