summaryrefslogtreecommitdiff
path: root/package/cacaovm/patches/patch-src_threads_posix_thread-posix_h
blob: fc43526fbe7172830f18fbdacc3d5abdf845b722 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- cacao-0.99.4.orig/src/threads/posix/thread-posix.h	2008-08-04 18:51:28.000000000 +0200
+++ cacao-0.99.4/src/threads/posix/thread-posix.h	2011-03-26 20:12:13.000000000 +0100
@@ -34,7 +34,11 @@ typedef struct threadobject threadobject
 #include "config.h"
 
 #include <pthread.h>
+#if defined(__DARWIN__)
+#include <sys/ucontext.h>
+#else
 #include <ucontext.h>
+#endif
 
 #include "vm/types.h"