aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-30 17:28:48 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-30 17:28:48 +0200
commitb7d8ccf74f77c5dfee9decd54dfde738ac166cb3 (patch)
treea7cb4aa0ce6f41d03d0a3a293f01f26a5d0a2db1 /pkg/csource
parentbdc18a387e738afd10b8d9644edefe9d8c2c16f8 (diff)
executor: include more headers on fuchsia
Since we are taking address of functions in syscall table, we need all headers even if we don't use them directly.
Diffstat (limited to 'pkg/csource')
-rw-r--r--pkg/csource/fuchsia_common.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/csource/fuchsia_common.go b/pkg/csource/fuchsia_common.go
index 8c780a19f..330c9b00f 100644
--- a/pkg/csource/fuchsia_common.go
+++ b/pkg/csource/fuchsia_common.go
@@ -13,6 +13,8 @@ var commonHeaderFuchsia = `
#include <poll.h>
#include <signal.h>
#include <sys/file.h>
+#include <sys/ioctl.h>
+#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>