Use the posix poll.h instead of sys/poll.h.

This commit is contained in:
orbea 2019-02-01 09:53:12 -08:00
parent ba3c7c3fd5
commit 5d56080312
5 changed files with 5 additions and 5 deletions

View File

@ -52,7 +52,7 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/poll.h>
#include <poll.h>
#endif
#include <fcntl.h>
#ifdef _WIN32

View File

@ -29,7 +29,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/poll.h>
#include <poll.h>
#include <libdrm/drm.h>
#include <gbm.h>

View File

@ -14,7 +14,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <sys/poll.h>
#include <poll.h>
#include <unistd.h>
#include <wayland-client.h>

View File

@ -44,7 +44,7 @@
#elif defined(HAVE_KQUEUE)
#include <sys/event.h>
#endif
#include <sys/poll.h>
#include <poll.h>
#include <libudev.h>
#ifdef __linux__

View File

@ -23,7 +23,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/poll.h>
#include <poll.h>
#include <libudev.h>
#ifdef __linux__
#include <linux/types.h>