1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Use POSIX poll.h instead of sys/poll.h

This commit is contained in:
Marvin Scholz 2018-08-14 20:03:01 +02:00
parent 1773e723c0
commit 149194d6af
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#ifdef HAVE_POLL #ifdef HAVE_POLL
#include <sys/poll.h> #include <poll.h>
#endif #endif
#include <sys/types.h> #include <sys/types.h>

View File

@ -23,7 +23,7 @@
#include <errno.h> #include <errno.h>
#ifdef HAVE_POLL #ifdef HAVE_POLL
#include <sys/poll.h> #include <poll.h>
#endif #endif
#ifndef _WIN32 #ifndef _WIN32

View File

@ -32,7 +32,7 @@
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_POLL #ifdef HAVE_POLL
#include <sys/poll.h> #include <poll.h>
#endif #endif
#else #else
#include <windows.h> #include <windows.h>