It's easy to have debug.h #include'd multiple times. While it would be
better to fix that, getting a build failure is nasty. Avoid that.

Signed-off-by: Arnaud Patard <[email protected]>
---
 debug.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/debug.h b/debug.h
index 653da84..52e8e96 100644
--- a/debug.h
+++ b/debug.h
@@ -1,3 +1,6 @@
+#ifndef _DEBUG_H
+#define _DEBUG_H
+
 #include <features.h>
 
 /* debug levels:
@@ -15,3 +18,4 @@ int xinfdump(long, void *, int);
 
 # define debug(level, expr...) debug_(level, __FILE__, __LINE__, expr)
 
+#endif
_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/ltrace-devel

Reply via email to