summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/include/dlinklist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/dlinklist.h b/source4/include/dlinklist.h
index 04e507947d..d50a46c5d4 100644
--- a/source4/include/dlinklist.h
+++ b/source4/include/dlinklist.h
@@ -21,6 +21,10 @@
/* To use these macros you must have a structure containing a next and
prev pointer */
+struct dlist_item {
+ struct dlist_item *prev, *next;
+ void *ptr;
+};
/* hook into the front of the list */
#define DLIST_ADD(list, p) \