diff mbox series

[1/5] suricatta: Add missing includes

Message ID 20200206111000.889-2-ceggers@arri.de
State Accepted
Headers show
Series Another bunch of build fixes | expand

Commit Message

Christian Eggers Feb. 6, 2020, 11:09 a.m. UTC
- strtoul() requires stdlib.h

Signed-off-by: Christian Eggers <ceggers@arri.de>
---
 suricatta/common.c         | 1 +
 suricatta/server_general.c | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/suricatta/common.c b/suricatta/common.c
index 7e59885..aea635e 100644
--- a/suricatta/common.c
+++ b/suricatta/common.c
@@ -5,6 +5,7 @@ 
  * SPDX-License-Identifier:     GPL-2.0-or-later
  */
 #include <stdbool.h>
+#include <stdlib.h>
 #include <swupdate_dict.h>
 #include <channel.h>
 #include <util.h>
diff --git a/suricatta/server_general.c b/suricatta/server_general.c
index c661b55..d0df35b 100644
--- a/suricatta/server_general.c
+++ b/suricatta/server_general.c
@@ -11,6 +11,7 @@ 
  * See documentation for more details
  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <time.h>
 #include <stdbool.h>