… | |
… | |
18 | #include <sys/stat.h> |
18 | #include <sys/stat.h> |
19 | #include <limits.h> |
19 | #include <limits.h> |
20 | #include <fcntl.h> |
20 | #include <fcntl.h> |
21 | #include <sched.h> |
21 | #include <sched.h> |
22 | |
22 | |
|
|
23 | #if HAVE_SYS_MKDEV_H |
|
|
24 | # include <sys/mkdev.h> |
23 | #if HAVE_SYS_SYSMACROS_H |
25 | #elif HAVE_SYS_SYSMACROS_H |
24 | # include <sys/sysmacros.h> |
26 | # include <sys/sysmacros.h> |
25 | #endif |
27 | #endif |
26 | |
28 | |
27 | #if _POSIX_MEMLOCK || _POSIX_MEMLOCK_RANGE || _POSIX_MAPPED_FILES |
29 | #if _POSIX_MEMLOCK || _POSIX_MEMLOCK_RANGE || _POSIX_MAPPED_FILES |
28 | # include <sys/mman.h> |
30 | # include <sys/mman.h> |