Index: /trunk/ccl/lisp-kernel/x86-exceptions.h
===================================================================
--- /trunk/ccl/lisp-kernel/x86-exceptions.h	(revision 4983)
+++ /trunk/ccl/lisp-kernel/x86-exceptions.h	(revision 4984)
@@ -36,4 +36,11 @@
 #define xpMMXreg(x,n)  (xpFPRvector(x)[gprno])
 #endif
+#include <mach/mach.h>
+#include <mach/mach_error.h>
+#include <mach/machine/thread_state.h>
+#include <mach/machine/thread_status.h>
+
+pthread_mutex_t *mach_exception_lock;
+
 #endif
 
@@ -122,2 +129,8 @@
 #define SIGRETURN(context)
 #endif
+
+/* Please go away. */
+#ifdef DARWIN_GS_HACK
+extern Boolean ensure_gs_pthread(void);
+extern void set_gs_address(void *);
+#endif
