diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-11-17 16:25:41 +0200 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2016-11-28 07:57:12 -0500 |
commit | a1fa9090337aeb14cc5e86cd7d212d35cc95b37a (patch) | |
tree | 3fcd79960b05a8e15bd1c88e108ffc3cffa11410 /codecs | |
parent | 5027b0d5e631e22616cb4545ee4369b3dcab03cf (diff) |
codec_dahdi: Fix poll.h include.
POSIX defines poll.h. sys/poll.h should not be used as it is c-library
internal header which may or may not exist. Notably in musl including
sys/poll.h generates warning of being incorrect.
Change-Id: Ib318c1c7142a737bcf3caa4d8d72560bebe39252
Diffstat (limited to 'codecs')
-rw-r--r-- | codecs/codec_dahdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_dahdi.c b/codecs/codec_dahdi.c index 8832bc317..f207b6486 100644 --- a/codecs/codec_dahdi.c +++ b/codecs/codec_dahdi.c @@ -36,11 +36,11 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") +#include <poll.h> #include <fcntl.h> #include <netinet/in.h> #include <sys/ioctl.h> #include <sys/mman.h> -#include <sys/poll.h> #include <dahdi/user.h> #include "asterisk/lock.h" |