summaryrefslogtreecommitdiff
path: root/src/debugmacro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debugmacro.h')
-rw-r--r--src/debugmacro.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/debugmacro.h b/src/debugmacro.h
index 58e6577e5..dcd79a33f 100644
--- a/src/debugmacro.h
+++ b/src/debugmacro.h
@@ -30,6 +30,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _REDIS_DEBUGMACRO_H_
+#define _REDIS_DEBUGMACRO_H_
+
#include <stdio.h>
#define D(...) \
do { \
@@ -39,3 +42,5 @@
fprintf(fp,"\n"); \
fclose(fp); \
} while (0)
+
+#endif /* _REDIS_DEBUGMACRO_H_ */