Add missing include guards.
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 13 Jun 2012 10:27:46 +0000 (12:27 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 14 Jun 2012 07:32:56 +0000 (09:32 +0200)
adt/error.h

index 3230f3c..ad6c08d 100644 (file)
@@ -17,6 +17,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  * 02111-1307, USA.
  */
+#ifndef ADT_ERROR_H
+#define ADT_ERROR_H
+
 #include <stdio.h>
 #include <stdlib.h>
 #include "config.h"
@@ -24,3 +27,5 @@
 static inline __attribute__((noreturn))
 void panic(const char *msg)
 { fprintf(stderr, "Panic: %s\n", msg); abort(); }
+
+#endif