summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/dlinklist.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/include/dlinklist.h')
-rw-r--r--source4/lib/ldb/include/dlinklist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/dlinklist.h b/source4/lib/ldb/include/dlinklist.h
index d3252751db..acab9fa043 100644
--- a/source4/lib/ldb/include/dlinklist.h
+++ b/source4/lib/ldb/include/dlinklist.h
@@ -20,6 +20,8 @@
/* 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) \
@@ -108,3 +110,5 @@ do { \
} \
} \
} while (0)
+
+#endif /* _DLINKLIST_H */