[MLton-commit] r4473

Stephen Weeks MLton@mlton.org
Sat, 6 May 2006 18:23:01 -0700


Added #if to get socklen_t on Solaris.

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

U   mlton/branches/on-20050822-x86_64-branch/runtime/cenv.h

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

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/cenv.h
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/cenv.h	2006-05-07 01:22:00 UTC (rev 4472)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/cenv.h	2006-05-07 01:23:01 UTC (rev 4473)
@@ -71,6 +71,10 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 
+#if (defined (__sun__))
+#include <sys/socket.h>
+#endif
+
 #include "gmp.h"
 
 #endif /* _MLTON_CENV_H_ */