All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH libsepol] Add missing <stdarg.h> include
@ 2016-07-01  8:51 Thomas Petazzoni
  2016-07-01 17:04 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2016-07-01  8:51 UTC (permalink / raw)
  To: selinux

Add missing <stdarg.h> include

This is needed to fix the build on uClibc, due to the usage of
va_list.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Index: b/cil/src/cil_log.h
===================================================================
--- a/cil/src/cil_log.h
+++ b/cil/src/cil_log.h
@@ -30,6 +30,7 @@
 #define CIL_LOG_H_
 
 #include <stdlib.h>
+#include <stdarg.h>
 #include <cil/cil.h>
 
 #define MAX_LOG_SIZE 512

-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH libsepol] Add missing <stdarg.h> include
  2016-07-01  8:51 [PATCH libsepol] Add missing <stdarg.h> include Thomas Petazzoni
@ 2016-07-01 17:04 ` Stephen Smalley
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2016-07-01 17:04 UTC (permalink / raw)
  To: Thomas Petazzoni, selinux

On 07/01/2016 04:51 AM, Thomas Petazzoni wrote:
> Add missing <stdarg.h> include
> 
> This is needed to fix the build on uClibc, due to the usage of
> va_list.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thanks, applied.

> 
> Index: b/cil/src/cil_log.h
> ===================================================================
> --- a/cil/src/cil_log.h
> +++ b/cil/src/cil_log.h
> @@ -30,6 +30,7 @@
>  #define CIL_LOG_H_
>  
>  #include <stdlib.h>
> +#include <stdarg.h>
>  #include <cil/cil.h>
>  
>  #define MAX_LOG_SIZE 512
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-01 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-01  8:51 [PATCH libsepol] Add missing <stdarg.h> include Thomas Petazzoni
2016-07-01 17:04 ` Stephen Smalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.