spoolss: fix samba4 dependency of spoolss helper.
authorGünther Deschner <gd@samba.org>
Fri, 14 Nov 2008 21:15:16 +0000 (22:15 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 5 Feb 2009 15:04:36 +0000 (16:04 +0100)
Guenther

librpc/ndr/ndr_spoolss_buf.c

index 2b95a69bb0052994e90f07f044346f4aeeb51ea1..1cb1df3fd50334359490c0ea135e1c9c5c550e2a 100644 (file)
@@ -23,7 +23,9 @@
 
 #include "includes.h"
 #include "librpc/gen_ndr/ndr_spoolss.h"
+#if (_SAMBA_BUILD_ >= 4)
 #include "param/param.h"
+#endif
 
 #define NDR_SPOOLSS_PUSH_ENUM_IN(fn) do { \
        if (!r->in.buffer && r->in.offered != 0) {\