X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=main.h;h=5fac1ef13fce531d9ee693849c643b8b77a16ccd;hp=9a97f3a0607586ae01988d524dfe5939f209224a;hb=306ed3c7f18a99e74d26738a9b1e3fd3209ef9bc;hpb=877a2dfd52782f72ba2d28483212166f2326b1fa diff --git a/main.h b/main.h index 9a97f3a..5fac1ef 100644 --- a/main.h +++ b/main.h @@ -32,8 +32,6 @@ #define NAME "LCR" -#define DEFAULT_ENDPOINT_APP EndpointAppPBX - #define VERSION_STRING VERSION extern int memuse; @@ -127,12 +125,14 @@ void debug(const char *file, const char *function, int line, const char *prefix, #define BUDETECT ; #endif -#ifdef __cplusplus -extern "C" { -#endif -#include -#ifdef __cplusplus -} +#ifdef WITH_MISDN + #ifdef __cplusplus + extern "C" { + #endif + #include + #ifdef __cplusplus + } + #endif #endif #include "macro.h" #include "select.h" @@ -143,13 +143,16 @@ extern "C" { #include "endpoint.h" #include "endpointapp.h" #include "apppbx.h" +#include "appbridge.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" +#endif #if defined WITH_GSM_BS || defined WITH_GSM_MS #include "gsm.h" #endif