Import Debian changes 20180207-1
[hcoop/debian/mlton.git] / runtime / platform / hurd.h
1 #include <inttypes.h>
2 #include <stdint.h>
3 #include <fenv.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/resource.h>
18 #include <sys/socket.h>
19 #include <sys/stat.h>
20 #include <sys/time.h>
21 #include <sys/times.h>
22 #include <sys/un.h>
23 #include <sys/utsname.h>
24 #include <sys/wait.h>
25 #include <sys/sysinfo.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 TRUE
33 #define HAS_SIGALTSTACK TRUE
34 #define NEEDS_SIGALTSTACK_EXEC FALSE
35 #define HAS_SPAWN FALSE
36 #define HAS_TIME_PROFILING FALSE
37
38 #define MLton_Platform_OS_host "hurd"
39
40 // environ is already defined if _GNU_SOURCE is.
41 #ifndef _GNU_SOURCE
42 extern char **environ; /* for Posix_ProcEnv_environ */
43 #endif