smbspool_krb5_wrapper.c broke the non-cups build

Andreas Schneider asn at samba.org
Tue Jan 26 10:30:25 UTC 2016


On Monday 25 January 2016 15:14:37 Jeremy Allison wrote:
> This file arbitrarily includes:
> 
> #include <cups/backend.h>
> 
> I think compiling this needs to
> depend on HAVE_CUPS somehow
> (look at source3/printing/print_cups.c
> where the whole file is include
> bracketed by:
> 
> #ifdef HAVE_CUPS
> 
> Jeremy.

The attached patch should fix the issue.

Review and push appreciated.


	-- andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_build.patch
Type: text/x-patch
Size: 828 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160126/43f3ff26/fix_build.bin>


More information about the samba-technical mailing list