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