diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-11-17 16:25:41 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-17 16:26:21 +0200 |
commit | 349e08cb482cb99df7f14a3f0c06756f5eb55828 (patch) | |
tree | 848567f00f40d5fad2f5710c960e8e0883afdccb /codecs/codec_dahdi.c | |
parent | ed143a3b7c7b02fb113f9ce817a02c541b540aa9 (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/codec_dahdi.c')
-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 2d08d36cd..efb016853 100644 --- a/codecs/codec_dahdi.c +++ b/codecs/codec_dahdi.c @@ -34,11 +34,11 @@ #include "asterisk.h" #include <stdbool.h> +#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" |