[patch] Fix includes for lib/util/debug.h

Jeremy Allison jra at samba.org
Thu Jul 30 16:27:49 UTC 2015


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>

> >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"
>  
>  
> -- 
> 1.9.1
> 




More information about the samba-technical mailing list