--- libelwix/inc/elwix.h 2024/01/22 20:44:01 1.23 +++ libelwix/inc/elwix.h 2024/10/10 23:55:48 1.25 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: elwix.h,v 1.23 2024/01/22 20:44:01 misho Exp $ +* $Id: elwix.h,v 1.25 2024/10/10 23:55:48 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -47,6 +47,7 @@ SUCH DAMAGE. #define __ELWIX_H +#include #include #include #include @@ -289,7 +290,8 @@ extern int elwix_Debug; #define ELWIX_DEBUG_NET 0x80 #define ELWIX_DEBUG_ANY 0xFFFFFFFF -#define EISDBG(x) if (elwix_Debug & (x)) +#define EDBG(x) (elwix_Debug & (x)) +#define EDBGS(x) if (EDBG(x)) #define ETRACE() if (elwix_Debug & ELWIX_DEBUG_TRACE) \ syslog(LOG_DEBUG, "I'm in %s(%d)\n", __func__, __LINE__) #define EDEBUG(x, fmt, ...) do { assert((fmt)); \