summaryrefslogtreecommitdiffstats
path: root/mISDN.cpp
diff options
context:
space:
mode:
authorroot2009-06-28 17:29:07 +0200
committerroot2009-06-28 17:29:07 +0200
commit7239f7e28e0c566c2e9ce2cacc9c32e297dd17d7 (patch)
treef67e22e13e0c21c3ad6b2199bc407bb6bee5f3c3 /mISDN.cpp
parentAdded GSM IMSI dialing by using dialing "imsi-<number>". (diff)
downloadlcr-7239f7e28e0c566c2e9ce2cacc9c32e297dd17d7.tar.gz
lcr-7239f7e28e0c566c2e9ce2cacc9c32e297dd17d7.tar.xz
lcr-7239f7e28e0c566c2e9ce2cacc9c32e297dd17d7.zip
Applied changes of OpenBSC main branch. LCR now works with OpenBSC main branch.
modified: README modified: bootstrap.c modified: bootstrap.h modified: gsm.cpp modified: gsm.h modified: gsm_conf.c modified: mISDN.cpp
Diffstat (limited to 'mISDN.cpp')
-rw-r--r--mISDN.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mISDN.cpp b/mISDN.cpp
index 4ee4c94..5f55a36 100644
--- a/mISDN.cpp
+++ b/mISDN.cpp
@@ -25,9 +25,11 @@ extern "C" {
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
+#ifndef container_of
#define container_of(ptr, type, member) ({ \
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
+#endif
// timeouts if activating/deactivating response from mISDN got lost
#define B_TIMER_ACTIVATING 1 // seconds