File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 11
11
#include < climits>
12
12
#include < cstdlib>
13
13
#include < sys/types.h>
14
+
14
15
#ifndef _WIN32
15
16
#include < dlfcn.h>
16
17
#include < grp.h>
17
18
#include < netdb.h>
18
19
#include < pwd.h>
19
20
#include < sys/stat.h>
21
+ #include < sys/syscall.h>
22
+ #include < sys/wait.h>
20
23
#include < unistd.h>
24
+ #if !defined(__ANDROID__)
25
+ #include < spawn.h>
26
+ #endif
21
27
#endif
22
28
23
29
#if defined(__APPLE__)
26
32
#include < mach/mach_port.h>
27
33
#endif
28
34
29
- #if defined(__linux__) || defined(__FreeBSD__) || \
30
- defined (__FreeBSD_kernel__) || defined(__APPLE__) || \
31
- defined(__NetBSD__) || defined(__OpenBSD__) || defined(__EMSCRIPTEN__)
32
- #if !defined(__ANDROID__)
33
- #include < spawn.h>
34
- #endif
35
- #include < sys/syscall.h>
36
- #include < sys/wait.h>
37
- #endif
38
-
39
35
#if defined(__FreeBSD__)
40
36
#include < pthread_np.h>
41
37
#endif
You can’t perform that action at this time.
0 commit comments