projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53d9aa1
)
Fix chan_phone for kernel 2.6 (bug #2831)
author
Mark Spencer
<markster@digium.com>
Thu, 11 Nov 2004 14:58:57 +0000
(14:58 +0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 11 Nov 2004 14:58:57 +0000
(14:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4202
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_phone.c
patch
|
blob
|
history
diff --git
a/channels/chan_phone.c
b/channels/chan_phone.c
index
b81c5b0
..
12c0097
100755
(executable)
--- a/
channels/chan_phone.c
+++ b/
channels/chan_phone.c
@@
-34,6
+34,10
@@
#include <sys/ioctl.h>
#include <linux/telephony.h>
/* Still use some IXJ specific stuff */
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+# include <linux/compiler.h>
+#endif
#include <linux/ixjuser.h>
#include "DialTone.h"