diff options
Diffstat (limited to 'tools-common.h')
-rw-r--r-- | tools-common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools-common.h b/tools-common.h index cd16804..bb5dd30 100644 --- a/tools-common.h +++ b/tools-common.h @@ -19,7 +19,12 @@ #define __TOOLS_COMMON #include <libcgroup.h> -#include "libcgroup-internal.h" + +#ifdef CGROUP_DEBUG +#define dbg(x...) printf(x) +#else +#define dbg(x...) do {} while (0) +#endif /** * Auxiliary specifier of group, used to store parsed command line options. |