11 #include <netinet/in.h>
12 #include <netinet/tcp.h>
15 #include <sys/ioctl.h>
17 #include <sys/socket.h>
19 #include <sys/sysctl.h>
21 #include <sys/resource.h> /* <sys/resource.h> might not #include <sys/time.h> */
22 #include <sys/times.h>
24 #include <sys/utsname.h>
31 #define HAS_FEROUND TRUE
32 #define HAS_MSG_DONTWAIT TRUE
33 #define HAS_REMAP FALSE
34 #define HAS_SIGALTSTACK TRUE
35 #define NEEDS_SIGALTSTACK_EXEC FALSE
36 #define HAS_SPAWN FALSE
37 #define HAS_TIME_PROFILING TRUE
39 #define MLton_Platform_OS_host "freebsd"
41 /* This is probably debian specific, since freebsd worked w/o it before. */
42 #if (defined (__FreeBSD_kernel__))
43 #define getpgrp() getpgrp(getpid())
46 extern char **environ
; /* for Posix_ProcEnv_environ */