summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bmm_lib.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bmm_lib.c b/bmm_lib.c
index e39524d..fa6c350 100644
--- a/bmm_lib.c
+++ b/bmm_lib.c
@@ -21,12 +21,13 @@
#include "bmm_lib_priv.h"
#include "bmm_lib.h"
-//#define DEBUG
+#undef DEBUG
#ifdef DEBUG
- #define pr_debug(fmt, arg...) printf(fmt, ##arg)
+#include <stdio.h>
+#define pr_debug(fmt, arg...) printf(fmt, ##arg)
#else
- #define pr_debug(fmt, arg...) do { } while(0)
+#define pr_debug(fmt, arg...) do { } while(0)
#endif
static int bmm_fd = -1;