summaryrefslogtreecommitdiff
path: root/source4/lib/util/dlinklist.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util/dlinklist.h')
-rw-r--r--source4/lib/util/dlinklist.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/util/dlinklist.h b/source4/lib/util/dlinklist.h
index 527b211cd3..f267e77ea6 100644
--- a/source4/lib/util/dlinklist.h
+++ b/source4/lib/util/dlinklist.h
@@ -21,6 +21,9 @@
/* To use these macros you must have a structure containing a next and
prev pointer */
+#ifndef _DLINKLIST_H
+#define _DLINKLIST_H
+
/* hook into the front of the list */
#define DLIST_ADD(list, p) \
@@ -107,3 +110,5 @@ do { \
} \
} \
} while (0)
+
+#endif /* _DLINKLIST_H */