legato_linux.h

Go to the documentation of this file.
1 /**
2  * @file legato_linux.h
3  *
4  * This file includes all the commonly-used Linux-specific header files.
5  *
6  * Copyright (C) Sierra Wireless Inc.
7  */
8 
9 #ifndef LEGATO_LINUX_H_INCLUDE_GUARD
10 #define LEGATO_LINUX_H_INCLUDE_GUARD
11 
12 #ifndef _GNU_SOURCE
13 # define _GNU_SOURCE 1
14 #endif
15 
16 #include <dirent.h>
17 #include <fcntl.h>
18 #include <fts.h>
19 #include <grp.h>
20 #include <libgen.h>
21 #include <mntent.h>
22 #include <poll.h>
23 #include <pthread.h>
24 #include <sched.h>
25 #include <semaphore.h>
26 #include <sys/epoll.h>
27 #include <sys/mount.h>
28 #include <sys/prctl.h>
29 #include <sys/reboot.h>
30 #include <sys/resource.h>
31 #include <sys/signalfd.h>
32 #include <sys/socket.h>
33 #include <sys/stat.h>
34 #include <sys/syscall.h>
35 #include <sys/sysinfo.h>
36 #include <sys/sysmacros.h>
37 #include <sys/time.h>
38 #include <sys/timeb.h>
39 #include <sys/types.h>
40 #include <sys/un.h>
41 #include <sys/wait.h>
42 #include <sys/xattr.h>
43 #include <syslog.h>
44 #include <unistd.h>
45 
46 // Local includes -- definitions which are different between Linux & RTOS
47 #include "le_fd_linux.h"
48 #include "le_fs_linux.h"
49 #include "le_thread_linux.h"
50 
51 #endif // LEGATO_LINUX_H_INCLUDE_GUARD