package/libsemanage: add host-audit as a dependency of the host variant
[buildroot-gz.git] / package / openpowerlink / 0007-apps-include-stdarg.h-in-eventlogstring.h.patch
blob70e44c2f61087b18bfdad7d1df98b32c0c88c49e
1 From 533f40e097b8d08e1dfeb03e2484a4369fad778f Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@gmail.com>
3 Date: Wed, 8 Jun 2016 13:13:36 +0200
4 Subject: [PATCH] [FIX] apps: include stdarg.h in eventlogstring.h
6 va_list type is used in eventlogstring.h so it must include stdarg.h to define
7 it.
9 Upstream status: Pending
10 https://github.com/OpenAutomationTechnologies/openPOWERLINK_V2/pull/127
12 Fixes:
13 http://autobuild.buildroot.net/results/a9e/a9e7615a19922706039bf97ccb94bcf5b99330b2/build-end.log
15 Signed-off-by: Romain Naour <romain.naour@gmail.com>
16 ---
17 apps/common/src/eventlog/eventlog.c | 1 -
18 apps/common/src/eventlog/eventlogstring.c | 1 -
19 apps/common/src/eventlog/eventlogstring.h | 2 ++
20 3 files changed, 2 insertions(+), 2 deletions(-)
22 diff --git a/apps/common/src/eventlog/eventlog.c b/apps/common/src/eventlog/eventlog.c
23 index f2193e2..eba1101 100644
24 --- a/apps/common/src/eventlog/eventlog.c
25 +++ b/apps/common/src/eventlog/eventlog.c
26 @@ -47,7 +47,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 //------------------------------------------------------------------------------
29 #include <stdio.h>
30 -#include <stdarg.h>
31 #include <time.h>
33 #include <oplk/debugstr.h>
34 diff --git a/apps/common/src/eventlog/eventlogstring.c b/apps/common/src/eventlog/eventlogstring.c
35 index 9fb677b..a55a1a4 100644
36 --- a/apps/common/src/eventlog/eventlogstring.c
37 +++ b/apps/common/src/eventlog/eventlogstring.c
38 @@ -47,7 +47,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 #include "eventlogstring.h"
41 #include <stdio.h>
42 -#include <stdarg.h>
43 #include <time.h>
45 #include <oplk/debugstr.h>
46 diff --git a/apps/common/src/eventlog/eventlogstring.h b/apps/common/src/eventlog/eventlogstring.h
47 index 2c291a6..3a5f2fa 100644
48 --- a/apps/common/src/eventlog/eventlogstring.h
49 +++ b/apps/common/src/eventlog/eventlogstring.h
50 @@ -41,6 +41,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51 //------------------------------------------------------------------------------
52 // includes
53 //------------------------------------------------------------------------------
54 +#include <stdarg.h>
56 #include <oplk/oplk.h>
57 #include <oplk/nmt.h>
59 --
60 2.5.5