summaryrefslogtreecommitdiffstats
path: root/source3/include/locking.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-24 15:31:06 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:09 +0200
commitb2af281e508194d9548ea1119c19ee96a0dd1f0a (patch)
treeaa029804955ef6aa2f516bae5b5a640096c3b27a /source3/include/locking.h
parent4bd5f51c43147b74203711764390727bdda17a77 (diff)
downloadsamba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.tar.gz
samba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.tar.xz
samba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.zip
s3-messages: only include messages.h where needed.
Guenther
Diffstat (limited to 'source3/include/locking.h')
-rw-r--r--source3/include/locking.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/locking.h b/source3/include/locking.h
index 5504da6dc3..77a04eee2b 100644
--- a/source3/include/locking.h
+++ b/source3/include/locking.h
@@ -31,6 +31,8 @@ enum brl_flavour {WINDOWS_LOCK = 0, POSIX_LOCK = 1};
#define IS_PENDING_LOCK(type) ((type) == PENDING_READ_LOCK || (type) == PENDING_WRITE_LOCK)
+#include "librpc/gen_ndr/server_id.h"
+
/* This contains elements that differentiate locks. The smbpid is a
client supplied pid, and is essentially the locking context for
this client */