summaryrefslogtreecommitdiff
path: root/channels/xpmr
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-11-25 05:02:11 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-11-25 05:02:11 +0000
commitac296a4ad3d5830e269c9eba8fc63db1af1457c1 (patch)
tree859949e236c0023fb7475dfffc2e2fd54e3c6292 /channels/xpmr
parent853f21e90d6da766eb259bae57ed35d48b903965 (diff)
Merged revisions 159025 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r159025 | tilghman | 2008-11-24 22:50:00 -0600 (Mon, 24 Nov 2008) | 3 lines System call ioperm is non-portable, so check for its existence in autoconf. (Closes issue #13863) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@159050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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>