From e9c47538a4823830bc493b0137ea889f46452cf7 Mon Sep 17 00:00:00 2001 From: Denis Efremov Date: Tue, 19 Nov 2019 12:58:39 +0300 Subject: 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 --- executor/common_linux.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'executor/common_linux.h') 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 +#include #define DEVLINK_FAMILY_NAME "devlink" @@ -600,6 +601,8 @@ error: } #if SYZ_EXECUTOR || SYZ_DEVLINK_PCI +#include + static void initialize_devlink_pci(void) { #if SYZ_EXECUTOR -- cgit mrf-deployment