aboutsummaryrefslogtreecommitdiffstats
path: root/channels/xpmr
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-25 05:02:11 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-25 05:02:11 +0000
commit5d1e952b32e039c327b3ebf4ca76c9c23f2964d1 (patch)
tree859949e236c0023fb7475dfffc2e2fd54e3c6292 /channels/xpmr
parent279d77a2827bea35143f1774e67f092bd7e98511 (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: http://svn.digium.com/svn/asterisk/trunk@159050 f38db490-d61c-443f-a65b-d21fe96a405b
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>