[patch] Fix includes for lib/util/debug.h
Andreas Schneider
asn at samba.org
Fri Jul 31 12:52:45 UTC 2015
On Thursday 30 July 2015 09:27:49 Jeremy Allison wrote:
> On Fri, Jul 17, 2015 at 06:38:31PM +1200, Douglas Bagnall wrote:
> > I was putting DEBUG()s here and there and found they didn't work in
> > files that didn't happen to have va_list and friends.
>
> Obvious goodness ! Thanks !
>
> Reviewed-by: Jeremy Allison <jra at samba.org>
Reviewed-by: Andreas Schneider <asn at samba.org>
>
> > >From 0eb91c2ba12825c6dc226e42730d3d07026085bb Mon Sep 17 00:00:00 2001
> >
> > From: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
> > Date: Thu, 9 Jul 2015 18:16:56 +1200
> > Subject: [PATCH 4/4] lib/util/debug.h uses va_list, needs stdarg.h
> >
> > Signed-off-by: Douglas Bagnall <douglas.bagnall at catalyst.net.nz>
> > ---
> >
> > lib/util/debug.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/lib/util/debug.h b/lib/util/debug.h
> > index c312bbf..e399379 100644
> > --- a/lib/util/debug.h
> > +++ b/lib/util/debug.h
> > @@ -25,7 +25,7 @@
> >
> > #include <stdbool.h>
> > #include <stddef.h>
> >
> > -
> > +#include <stdarg.h>
> >
> > #include "attr.h"
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
More information about the samba-technical
mailing list