summaryrefslogtreecommitdiff
path: root/source4/lib/util
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-17 05:11:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:54 -0500
commit4a854fe809ba617336db3e1d277e00c7ef95c55f (patch)
treed1a57833acd0ba4ed43e8076cfe2cb6d3ea842a3 /source4/lib/util
parent5d6a38004ad45ae58a0a064132d383d3d3ee4c99 (diff)
downloadsamba-4a854fe809ba617336db3e1d277e00c7ef95c55f.tar.gz
samba-4a854fe809ba617336db3e1d277e00c7ef95c55f.tar.bz2
samba-4a854fe809ba617336db3e1d277e00c7ef95c55f.zip
r18593: try to get the same socket_wrapper file building in samba3 and samba4
this is preparation of adding libreplace to samba3 later. metze (This used to be commit 26228e4b2e8debd84caebe84bb34bfbbf2ad405c)
Diffstat (limited to 'source4/lib/util')
-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 */