• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #if defined(__i386__) || defined(__x86_64__)
2 #include <asm/prctl.h>
3 #endif // __i386__ || __x86_64__
4 #include <errno.h>
5 #include <fcntl.h>
6 #include <linux/fs.h>
7 #include <linux/mman.h>
8 #include <linux/net.h>
9 #include <linux/prctl.h>
10 #include <linux/sched.h>
11 #include <linux/serial.h>
12 #include <linux/sockios.h>
13 #include <linux/termios.h>
14 #include <stddef.h>
15 #include <signal.h>
16 #include <sys/mman.h>
17 #include <sys/resource.h>
18 #include <sys/socket.h>
19 #include <sys/stat.h>
20 #include <sys/types.h>
21 
22 // These defines use C structures that are not defined in the same headers which
23 // cause our CPP logic to fail w/undefined identifiers.  Remove them to avoid
24 // build errors on such broken systems.
25 #undef BLKTRACESETUP
26 #undef FS_IOC_FIEMAP
27