Index: libcfa/src/bits/defs.hfa
===================================================================
--- libcfa/src/bits/defs.hfa	(revision aa9f21562ec9ecf11a7c8497b3d7b3a2bd8fbdbe)
+++ libcfa/src/bits/defs.hfa	(revision 7f6a7c9815ca57db7bd45062dda4b61c275ad2ec)
@@ -21,4 +21,5 @@
 #include <stdint.h>
 #include <assert.h>
+#include <signal.h>
 
 #define likely(x)   __builtin_expect(!!(x), 1)
@@ -58,7 +59,15 @@
 void abort( bool signalAbort, const char fmt[], ... ) __attribute__ (( format(printf, 2, 3), __nothrow__, __leaf__, __noreturn__ ));
 extern "C" {
-#endif
-void __cabi_abort( const char fmt[], ... ) __attribute__ (( format(printf, 1, 2), __nothrow__, __leaf__, __noreturn__ ));
-#ifdef __cforall
+	#include <pthread.h>
+	void __cabi_abort( const char fmt[], ... ) __attribute__ (( format(printf, 1, 2), __nothrow__, __leaf__, __noreturn__ ));
+	int real_pthread_create(pthread_t *_thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg);
+	int real_pthread_join(pthread_t _thread, void **retval);
+	pthread_t real_pthread_self(void);
+	int real_pthread_attr_init(pthread_attr_t *attr);
+	int real_pthread_attr_destroy(pthread_attr_t *attr);
+	int real_pthread_attr_setstack( pthread_attr_t *attr, void *stackaddr, size_t stacksize );
+	int real_pthread_attr_getstacksize( const pthread_attr_t *attr, size_t *stacksize );
+	int real_pthread_sigqueue(pthread_t _thread, int sig, const union sigval value);
+	int real_pthread_sigmask( int how, const sigset_t *set, sigset_t *oset);
 }
 #endif
