From 6df85597413840846409f7434941ed0f10ec4a38 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 17 Aug 2004 23:17:07 +0000 Subject: - Proper separation between common and daemon directories. --- common/buffer.c | 3 ++- common/compat.c | 2 +- common/compat.h | 9 ++++++++- 3 files changed, 11 insertions(+), 3 deletions(-) (limited to 'common') diff --git a/common/buffer.c b/common/buffer.c index cc5480f..096fac8 100644 --- a/common/buffer.c +++ b/common/buffer.c @@ -1,8 +1,9 @@ -#include "usuals.h" +#include "compat.h" #include "buffer.h" #include "stringx.h" +#include #include /* ----------------------------------------------------------------------- diff --git a/common/compat.c b/common/compat.c index daddbd2..c412605 100644 --- a/common/compat.c +++ b/common/compat.c @@ -1,6 +1,6 @@ -#include "usuals.h" #include "compat.h" +#include #ifndef HAVE_REALLOCF diff --git a/common/compat.h b/common/compat.h index c7f86cc..c292652 100644 --- a/common/compat.h +++ b/common/compat.h @@ -1,5 +1,4 @@ - #ifndef _COMPAT_H_ #define _COMPAT_H_ @@ -9,6 +8,14 @@ #include + +#ifdef _DEBUG + #include "assert.h" + #define ASSERT assert +#else + #define ASSERT +#endif + #ifndef HAVE_STDARG_H # error ERROR: Must have a working stdarg.h header #else -- cgit v1.2.3