diff options
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_usbradio.c | 2 | ||||
-rwxr-xr-x | channels/xpmr/xpmr.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_usbradio.c b/channels/chan_usbradio.c index 52bb8dffe..2e55448e0 100644 --- a/channels/chan_usbradio.c +++ b/channels/chan_usbradio.c @@ -63,7 +63,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include <math.h> #include <string.h> #include <unistd.h> +#ifdef HAVE_SYS_IO_H #include <sys/io.h> +#endif #include <sys/ioctl.h> #include <fcntl.h> #include <sys/time.h> diff --git a/channels/xpmr/xpmr.c b/channels/xpmr/xpmr.c index 2cad653c9..c2742cbc3 100755 --- a/channels/xpmr/xpmr.c +++ b/channels/xpmr/xpmr.c @@ -56,7 +56,9 @@ #include <string.h> #include <unistd.h> #include <sys/ioctl.h> +#ifdef HAVE_SYS_IO_H #include <sys/io.h> +#endif #include <fcntl.h> #include <sys/time.h> #include <stdlib.h> |