From 54d34cda7a6f0d9bd3ff22d529ce69ff2c004bd3 Mon Sep 17 00:00:00 2001 From: Super User Date: Tue, 31 Jul 2007 07:34:18 +0200 Subject: fixed crash when receiving notify messages some other fixes start adding new mISDN api. --- main.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.h') 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 #include <../i4lnet/net_l3.h> +#endif #ifdef __cplusplus } #endif -- cgit v1.2.3-55-g7522