summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
diff options
context:
space:
mode:
authorAndreas Eversberg2009-01-06 18:34:05 +0100
committerAndreas Eversberg2009-01-06 18:34:05 +0100
commitbf61575a94ec0e4e02824b7bfe8b1063ddf3daa5 (patch)
tree2d0bfe7c3da62bfbdd28f11fd67660dd47237ba1 /chan_lcr.c
parentAdded processing of second caller id. (diff)
downloadlcr-bf61575a94ec0e4e02824b7bfe8b1063ddf3daa5.tar.gz
lcr-bf61575a94ec0e4e02824b7bfe8b1063ddf3daa5.tar.xz
lcr-bf61575a94ec0e4e02824b7bfe8b1063ddf3daa5.zip
changed error message a bit...
added support for asterisk 1.6. it now compiles with both 1.4 and 1.6. (tested with 1.4 only) thanx to gregor for his valuable help! modified: bchannel.c modified: chan_lcr.c modified: config.h.in modified: configure modified: configure.ac modified: lcradmin.c modified: main.c
Diffstat (limited to 'chan_lcr.c')
-rw-r--r--chan_lcr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/chan_lcr.c b/chan_lcr.c
index acc485d..53a7fb6 100644
--- a/chan_lcr.c
+++ b/chan_lcr.c
@@ -121,6 +121,12 @@ it is called from ast_channel process which has already locked ast_channel.
#include <semaphore.h>
+#define HAVE_ATTRIBUTE_always_inline 1
+#define HAVE_ARPA_INET_H 1
+#define HAVE_TIMERSUB 1
+
+#include <asterisk/compiler.h>
+#include <asterisk/buildopts.h>
#include <asterisk/module.h>
#include <asterisk/channel.h>
#include <asterisk/config.h>