Fix compile warning under Emscripten (#2552) (submitted to upstream asio) (nw)

This commit is contained in:
Justin Kerk 2017-10-17 01:55:57 +00:00
parent e37cf6f659
commit 9e8160cf7e

View file

@ -57,7 +57,12 @@
# include "asio/detail/old_win_sdk_compat.hpp"
#else
# include <sys/ioctl.h>
# if !defined(__SYMBIAN32__)
# if (defined(__MACH__) && defined(__APPLE__)) \
|| defined(__FreeBSD__) || defined(__NetBSD__) \
|| defined(__OpenBSD__) || defined(__linux__) \
|| defined(__EMSCRIPTEN__)
# include <poll.h>
# elif !defined(__SYMBIAN32__)
# include <sys/poll.h>
# endif
# include <sys/types.h>