aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/klibc/klibc-1.5.19/arm-signal-cleanup.patch
blob: b95d6aec958e536773bc47f0e3f310f4db61d77b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: klibc-1.5.15/usr/include/arch/arm/klibc/archsignal.h
===================================================================
--- klibc-1.5.15.orig/usr/include/arch/arm/klibc/archsignal.h	2010-03-20 01:06:35.000000000 +0100
+++ klibc-1.5.15/usr/include/arch/arm/klibc/archsignal.h	2010-05-30 18:08:47.000000000 +0200
@@ -104,7 +104,12 @@
 #define MINSIGSTKSZ	2048
 #define SIGSTKSZ	8192
 
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
 #include <asm-generic/signal-defs.h>
+#else
+#include <asm-generic/signal.h>
+#endif
 
 /* This uses gcc anonymous union support... */
 struct siginfo;