From 6a81a4d587c16697d2424cd75c67dbeee6402e43 Mon Sep 17 00:00:00 2001
From: Koen Zandberg <koen@bergzand.net>
Date: Wed, 18 Jul 2018 15:28:01 +0200
Subject: [PATCH] sock_util: add missing includes

---
 sys/include/net/sock/util.h | 1 +
 sys/net/sock/sock_util.c    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys/include/net/sock/util.h b/sys/include/net/sock/util.h
index cacee59912..cb5f808559 100644
--- a/sys/include/net/sock/util.h
+++ b/sys/include/net/sock/util.h
@@ -26,6 +26,7 @@
 #define NET_SOCK_UTIL_H
 
 #include <stdbool.h>
+#include <stdint.h>
 
 #include "net/sock/udp.h"
 
diff --git a/sys/net/sock/sock_util.c b/sys/net/sock/sock_util.c
index 6f52a25ccb..084180343e 100644
--- a/sys/net/sock/sock_util.c
+++ b/sys/net/sock/sock_util.c
@@ -22,6 +22,7 @@
 #include <arpa/inet.h>
 #include <errno.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include "net/sock/udp.h"
-- 
GitLab