From 1456512754db9fcfb11d7b7b898ce253aeab7266 Mon Sep 17 00:00:00 2001 From: Misha Gridnev Date: Wed, 14 Jun 2023 03:39:26 -0700 Subject: [PATCH] Fix a compile warning due to missing include (#2293) Compilation in strict mode fails with ``` wasm_micro_runtime/core/shared/platform/android/platform_init.c:122:30: error: declaration of 'struct epoll_event` will not be visible outside of this function [-Werror,-Wvisibility] epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, ^ 1 error generated. ``` Co-authored-by: Misha Gridnev --- core/shared/platform/android/platform_internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/shared/platform/android/platform_internal.h b/core/shared/platform/android/platform_internal.h index 521fa0c5..d718a2d7 100644 --- a/core/shared/platform/android/platform_internal.h +++ b/core/shared/platform/android/platform_internal.h @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include