diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-30 17:28:48 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-30 17:28:48 +0200 |
| commit | b7d8ccf74f77c5dfee9decd54dfde738ac166cb3 (patch) | |
| tree | a7cb4aa0ce6f41d03d0a3a293f01f26a5d0a2db1 | |
| parent | bdc18a387e738afd10b8d9644edefe9d8c2c16f8 (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.
| -rw-r--r-- | executor/common_fuchsia.h | 2 | ||||
| -rw-r--r-- | pkg/csource/fuchsia_common.go | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index 120f47694..f2bcc29bd 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -11,6 +11,8 @@ #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> 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> |
