summaryrefslogtreecommitdiff
path: root/tool/patches/signal.diff
diff options
context:
space:
mode:
Diffstat (limited to 'tool/patches/signal.diff')
-rw-r--r--tool/patches/signal.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/tool/patches/signal.diff b/tool/patches/signal.diff
new file mode 100644
index 000000000..3e874e3f8
--- /dev/null
+++ b/tool/patches/signal.diff
@@ -0,0 +1,20 @@
+--- /home/saurik/iphone/aspen-dev/SDKs/Aspen1.2.sdk/usr/include/arm/signal.h 2008-02-27 05:37:19.000000000 +0000
++++ /home/dat/apl/inc/arm/signal.h 2008-03-24 09:51:14.000000000 +0000
+@@ -13,6 +13,8 @@
+
+ #ifndef _ANSI_SOURCE
+
++typedef int sig_atomic_t;
++
+ #ifdef __APPLE_API_OBSOLETE
+
+ #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
+@@ -20,8 +22,6 @@
+ #define __need_struct_sigcontext
+ #include <arm/_structs.h>
+
+-typedef int sig_atomic_t;
+-
+ #endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */
+
+ #endif /* __APPLE_API_OBSOLETE */