summaryrefslogtreecommitdiff
path: root/src/sna/fb/fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/fb/fb.h')
-rw-r--r--src/sna/fb/fb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sna/fb/fb.h b/src/sna/fb/fb.h
index d99453da..982b2c17 100644
--- a/src/sna/fb/fb.h
+++ b/src/sna/fb/fb.h
@@ -39,9 +39,12 @@
#include <pixman.h>
#if HAS_DEBUG_FULL
-#define DBG(x) ErrorF x
+void LogF(const char *f, ...);
+#define DBG(x) LogF x
+#define ERR(x) ErrorF x
#else
#define DBG(x)
+#define ERR(x)
#endif
#include "sfb.h"