diff options
author | Sebastian Valle <[email protected]> | 2018-09-10 22:46:13 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2018-09-10 22:46:13 -0500 |
commit | 335715309c873cf528f477577f3ecf1c6f987350 (patch) | |
tree | f1c0bea4d2b93ec5dcac07f606a8e47315ba58b1 | |
parent | 2e1c6bceeab0bc2b3d18fc7d7253f9b8bf6cb963 (diff) | |
download | enet-335715309c873cf528f477577f3ecf1c6f987350.tar.gz enet-335715309c873cf528f477577f3ecf1c6f987350.zip |
Use <poll.h> instead of <sys/poll.h> in unix.c
<poll.h> is the correct POSIX header according to the POSIX standard. Some targets (like homebrew for the Nintendo Switch) do not provide a <sys/poll.h> so it makes compiling for them rather hard.
-rw-r--r-- | unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ #endif #ifdef HAS_POLL -#include <sys/poll.h> +#include <poll.h> #endif #ifndef HAS_SOCKLEN_T |