--- runtime/mosml.c.orig Sun Jul 27 15:35:09 1997 +++ runtime/mosml.c Mon Feb 16 21:41:07 1998 @@ -1,5 +1,13 @@ /* Moscow SML primitives */ +#if (defined(__unix__) || defined(unix)) && !defined(USG) +#include +#endif + +#if (defined(BSD) && BSD >= 199306) +#define HAS_STRERROR +#endif + #include #include #include