Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes a compile warn due to missing include. #2293

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

bald-man
Copy link
Contributor

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.

@wenyongh wenyongh merged commit 1456512 into bytecodealliance:main Jun 14, 2023
480 checks passed
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
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 <gridman@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants