diff options
| author | Denis Efremov <efremov@linux.com> | 2019-11-19 12:58:39 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-19 11:38:19 +0100 |
| commit | e9c47538a4823830bc493b0137ea889f46452cf7 (patch) | |
| tree | 3d1c9cdad5dbbca4ebdfdfc5344a489bd34704f5 /executor/common_linux.h | |
| parent | 432c7650d538c5de1633ec3f081a18b8b9088c3a (diff) | |
executor: add missing includes
stdbool.h is required by initialize_devlink_ports(): true define.
fcntl.h is required by initialize_devlink_pci(): O_RDONLY define.
Signed-off-by: Denis Efremov <efremov@linux.com>
Diffstat (limited to 'executor/common_linux.h')
| -rw-r--r-- | executor/common_linux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h index cc5c58950..ee31b2061 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -471,6 +471,7 @@ const int kInitNetNsFd = 239; // see kMaxFd #if SYZ_EXECUTOR || SYZ_DEVLINK_PCI || SYZ_NET_DEVICES #include <linux/genetlink.h> +#include <stdbool.h> #define DEVLINK_FAMILY_NAME "devlink" @@ -600,6 +601,8 @@ error: } #if SYZ_EXECUTOR || SYZ_DEVLINK_PCI +#include <fcntl.h> + static void initialize_devlink_pci(void) { #if SYZ_EXECUTOR |
