summaryrefslogtreecommitdiffstats
path: root/main.h
diff options
context:
space:
mode:
authorSuper User2007-07-31 07:34:18 +0200
committerSuper User2007-07-31 07:34:18 +0200
commit54d34cda7a6f0d9bd3ff22d529ce69ff2c004bd3 (patch)
treef58def401dbcb8dc1459770b77d766a7b5d76544 /main.h
parentfixed routing: only parameters that are allowed may be present in the routing... (diff)
downloadlcr-54d34cda7a6f0d9bd3ff22d529ce69ff2c004bd3.tar.gz
lcr-54d34cda7a6f0d9bd3ff22d529ce69ff2c004bd3.tar.xz
lcr-54d34cda7a6f0d9bd3ff22d529ce69ff2c004bd3.zip
fixed crash when receiving notify messages
some other fixes start adding new mISDN api.
Diffstat (limited to 'main.h')
-rw-r--r--main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.h b/main.h
index 9fbf128..6e679c0 100644
--- a/main.h
+++ b/main.h
@@ -26,6 +26,8 @@ extern int classuse;
extern int fduse;
extern int fhuse;
+extern int global_debug;
+
#define PDEBUG(mask, fmt, arg...) _printdebug(__FUNCTION__, __LINE__, mask, fmt, ## arg)
#define PERROR(fmt, arg...) _printerror(__FUNCTION__, __LINE__, fmt, ## arg)
#define PDEBUG_RUNTIME(mask, fmt, arg...) _printdebug(NULL, 0, mask, fmt, ## arg)
@@ -112,8 +114,10 @@ void debug(const char *function, int line, char *prefix, char *buffer);
#ifdef __cplusplus
extern "C" {
#endif
+#ifndef SOCKET_MISDN
#include <isdn_net.h>
#include <../i4lnet/net_l3.h>
+#endif
#ifdef __cplusplus
}
#endif