summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-14 00:37:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:14 -0500
commit227a789351acd600d4cde15df9e6b3d106e862c1 (patch)
tree2592fd85c075057898ad92f7becb20483186a1a1 /source4/librpc
parent9865048bf41acff37d021a0773347d36bcac3798 (diff)
downloadsamba-227a789351acd600d4cde15df9e6b3d106e862c1.tar.gz
samba-227a789351acd600d4cde15df9e6b3d106e862c1.tar.bz2
samba-227a789351acd600d4cde15df9e6b3d106e862c1.zip
r14362: Only include ndr_compression.h when necessary.
(This used to be commit 4fced6dbbdc06233e5cf69f90c099fafee9baa34)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/ndr/ndr_orpc.h1
-rw-r--r--source4/librpc/rpc/dcerpc.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/source4/librpc/ndr/ndr_orpc.h b/source4/librpc/ndr/ndr_orpc.h
index 6c35d01067..171a783b8e 100644
--- a/source4/librpc/ndr/ndr_orpc.h
+++ b/source4/librpc/ndr/ndr_orpc.h
@@ -34,6 +34,7 @@ struct DUALSTRINGARRAY
struct SECURITYBINDING **securitybindings;
};
+#include "librpc/gen_ndr/orpc.h"
#include "librpc/ndr/ndr_orpc_proto.h"
#endif /* __NDR_ORPC_H__ */
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 7f44feb0d9..567246031a 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -24,6 +24,8 @@
#ifndef __DCERPC_H__
#define __DCERPC_H__
+#include "librpc/gen_ndr/dcerpc.h"
+
enum dcerpc_transport_t {
NCACN_NP, NCACN_IP_TCP, NCACN_IP_UDP, NCACN_VNS_IPC, NCACN_VNS_SPP,
NCACN_AT_DSP, NCADG_AT_DDP, NCALRPC, NCACN_UNIX_STREAM, NCADG_UNIX_DGRAM,