Mach CThreads needs #include <mach/cthreads.h>.
Jarkko Hietaniemi [Fri, 6 Nov 1998 07:55:38 +0000 (07:55 +0000)]
p4raw-id: //depot/cfgperl@2208

perl.h

diff --git a/perl.h b/perl.h
index 04647a3..e2a5a4c 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -1371,6 +1371,7 @@ typedef I32 (*filter_t) _((int, SV *, int));
 #        include "os2thread.h"
 #      else
 #        ifdef I_MACH_CTHREADS
+#          include <mach/cthreads.h>
 typedef cthread_t      perl_os_thread;
 typedef mutex_t                perl_mutex;
 typedef condition_t    perl_cond;