summaryrefslogtreecommitdiff
path: root/channels/xpmr
diff options
context:
space:
mode:
Diffstat (limited to 'channels/xpmr')
-rwxr-xr-xchannels/xpmr/xpmr.c2
1 files changed, 2 insertions, 0 deletions
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>