From b7d8ccf74f77c5dfee9decd54dfde738ac166cb3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 30 Jun 2018 17:28:48 +0200 Subject: [PATCH] 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. --- executor/common_fuchsia.h | 2 ++ pkg/csource/fuchsia_common.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index 120f4769..f2bcc29b 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -11,6 +11,8 @@ #include #include #include +#include +#include #include #include #include diff --git a/pkg/csource/fuchsia_common.go b/pkg/csource/fuchsia_common.go index 8c780a19..330c9b00 100644 --- a/pkg/csource/fuchsia_common.go +++ b/pkg/csource/fuchsia_common.go @@ -13,6 +13,8 @@ var commonHeaderFuchsia = ` #include #include #include +#include +#include #include #include #include