diff --git a/core/include/debug.h b/core/include/debug.h
index e45cfda976fcd9722839b241d8fe65ffe6dab3c1..c26c3dae1e6aefae9c74c41b71fb3e0adc50f687 100644
--- a/core/include/debug.h
+++ b/core/include/debug.h
@@ -17,15 +17,13 @@
  * @}
  */
 
-#ifndef DEBUG_H_
-#define DEBUG_H_
 
 #include <stdio.h>
 
 #if ENABLE_DEBUG
 #define DEBUG(...) printf(__VA_ARGS__)
+#undef ENABLE_DEBUG
 #else
 #define DEBUG(...)
 #endif
 
-#endif /* DEGUG_H_ */