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/smbd/oplock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd/oplock.c') diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index c22a589104..d00bcba32a 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -22,6 +22,7 @@ #define DBGC_CLASS DBGC_LOCKING #include "includes.h" #include "smbd/globals.h" +#include "librpc/gen_ndr/messaging.h" /**************************************************************************** Get the number of current exclusive oplocks. -- cgit