summaryrefslogtreecommitdiff
path: root/recipes/vnc/files/kernelinclude.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/vnc/files/kernelinclude.patch')
-rw-r--r--recipes/vnc/files/kernelinclude.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/vnc/files/kernelinclude.patch b/recipes/vnc/files/kernelinclude.patch
new file mode 100644
index 0000000000..b17d4e09c2
--- /dev/null
+++ b/recipes/vnc/files/kernelinclude.patch
@@ -0,0 +1,12 @@
+diff -urN fbvncserver-0.9.4.old/Makefile fbvncserver-0.9.4/Makefile
+--- fbvncserver-0.9.4.old/Makefile 2003-05-19 22:52:24.000000000 -0400
++++ fbvncserver-0.9.4/Makefile 2004-02-27 10:49:27.000000000 -0500
+@@ -86,7 +86,7 @@
+ ${STRIP} $@
+
+ zaurus_kbdsim.o: kbdsim.c
+- ${CC} -Wall -D__KERNEL__ -c -o $@ $<
++ ${CC} ${KERNEL_INCLUDES} -Wall -D__KERNEL__ -c -o $@ $<
+
+ ipaq_kbdsim.o: kbdsim.c
+ ${CC} -DIPAQ -Wall -D__KERNEL__ -c -o $@ $<