projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disabled NUTAG_AUTO100, Entering PROCEEDING state after sending INVITE
[lcr.git]
/
main.h
diff --git
a/main.h
b/main.h
index
e0b2193
..
5fac1ef
100644
(file)
--- a/
main.h
+++ b/
main.h
@@
-125,12
+125,14
@@
void debug(const char *file, const char *function, int line, const char *prefix,
#define BUDETECT ;
#endif
#define BUDETECT ;
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-#include <mISDN/mbuffer.h>
-#ifdef __cplusplus
-}
+#ifdef WITH_MISDN
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+ #include <mISDN/mbuffer.h>
+ #ifdef __cplusplus
+ }
+ #endif
#endif
#include "macro.h"
#include "select.h"
#endif
#include "macro.h"
#include "select.h"
@@
-145,10
+147,12
@@
extern "C" {
#include "callerid.h"
#include "route.h"
#include "port.h"
#include "callerid.h"
#include "route.h"
#include "port.h"
+#ifdef WITH_MISDN
#include "mISDN.h"
#include "dss1.h"
#include "loop.h"
#include "remote.h"
#include "mISDN.h"
#include "dss1.h"
#include "loop.h"
#include "remote.h"
+#endif
#if defined WITH_GSM_BS || defined WITH_GSM_MS
#include "gsm.h"
#endif
#if defined WITH_GSM_BS || defined WITH_GSM_MS
#include "gsm.h"
#endif