| 1 |
#include <fenv.h> |
| 2 |
#include <inttypes.h> |
| 3 |
#include <stdint.h> |
| 4 |
|
| 5 |
#include <unistd.h> |
| 6 |
|
| 7 |
#include <dirent.h> |
| 8 |
#include <fcntl.h> |
| 9 |
#include <grp.h> |
| 10 |
#include <netdb.h> |
| 11 |
#include <netinet/in.h> |
| 12 |
#include <netinet/tcp.h> |
| 13 |
#include <poll.h> |
| 14 |
#include <pwd.h> |
| 15 |
#include <sys/ioctl.h> |
| 16 |
#include <sys/mman.h> |
| 17 |
#include <sys/socket.h> |
| 18 |
#include <sys/stat.h> |
| 19 |
#include <sys/sysctl.h> |
| 20 |
#include <sys/time.h> |
| 21 |
#include <sys/resource.h> |
| 22 |
#include <sys/times.h> |
| 23 |
#include <sys/un.h> |
| 24 |
#include <sys/utsname.h> |
| 25 |
#include <sys/wait.h> |
| 26 |
#include <syslog.h> |
| 27 |
#include <termios.h> |
| 28 |
#include <utime.h> |
| 29 |
|
| 30 |
#define HAS_FEROUND TRUE |
| 31 |
#define HAS_MSG_DONTWAIT TRUE |
| 32 |
#define HAS_REMAP FALSE |
| 33 |
#define HAS_SHRINK_HEAP TRUE |
| 34 |
#define HAS_SIGALTSTACK TRUE |
| 35 |
#define NEEDS_SIGALTSTACK_EXEC FALSE |
| 36 |
#define HAS_SPAWN FALSE |
| 37 |
#define HAS_TIME_PROFILING TRUE |
| 38 |
|
| 39 |
#define MLton_Platform_OS_host "freebsd" |
| 40 |
|
| 41 |
|
| 42 |
#if (defined (__FreeBSD_kernel__)) |
| 43 |
#define getpgrp() getpgrp(getpid()) |
| 44 |
#endif |
| 45 |
|
| 46 |
extern char **environ; |