From c6ebab846d25563d051b1a1248ea288ba7eb0bcb Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 5 May 2010 01:39:16 +0200 Subject: s3: only include gen_ndr headers where needed. This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther --- source3/locking/brlock.c | 1 + source3/locking/locking.c | 1 + 2 files changed, 2 insertions(+) (limited to 'source3/locking') diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index c7503ca43c..ee0eaf5198 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -25,6 +25,7 @@ used. This allows us to provide the same semantics as NT */ #include "includes.h" +#include "librpc/gen_ndr/messaging.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_LOCKING diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 3975a78673..63bcff17ac 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -36,6 +36,7 @@ */ #include "includes.h" +#include "librpc/gen_ndr/messaging.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_LOCKING -- cgit