[MLton-commit] r7231

Matthew Fluet fluet at mlton.org
Fri Oct 2 07:23:36 PDT 2009


MacOS X 10.6 (Snow Leopard) patches from John Reppy.
----------------------------------------------------------------------

U   mlton/trunk/runtime/platform/darwin.h

----------------------------------------------------------------------

Modified: mlton/trunk/runtime/platform/darwin.h
===================================================================
--- mlton/trunk/runtime/platform/darwin.h	2009-09-17 19:09:12 UTC (rev 7230)
+++ mlton/trunk/runtime/platform/darwin.h	2009-10-02 14:23:35 UTC (rev 7231)
@@ -28,6 +28,7 @@
 #include <syslog.h>
 #include <termios.h>
 #include <ucontext.h>
+#include <sys/ucontext.h>
 #include <utime.h>
 
 #include <crt_externs.h>
@@ -45,7 +46,7 @@
 
 // MacOS only defines this if POSIX_C_SOURCE is defined.
 // However, defining that breaks half the osx system headers.
-// They couldn't possibly change the number at this point anyways.
+// They couldn't possibly change the number at this point anyway.
 #ifndef SIGPOLL
 #define SIGPOLL 7
 #endif




More information about the MLton-commit mailing list