From eb4de92c2f164603f638ef95fad0704bdbdb8cb8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= <joakim.nohlgard@eistec.se>
Date: Mon, 8 Oct 2018 10:11:01 +0200
Subject: [PATCH] sys/ubjson: Unconditionally include <sys/types.h>

msp430_types.h is included implicitly if needed by sys/types.h
native also needs sys/types.h, no idea why it was excluded originally..
---
 sys/include/ubjson.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys/include/ubjson.h b/sys/include/ubjson.h
index fad8544fa1..f91aacacac 100644
--- a/sys/include/ubjson.h
+++ b/sys/include/ubjson.h
@@ -36,11 +36,7 @@
 #include <stdint.h>
 #include <stdlib.h>
 
-#if defined(MODULE_MSP430_COMMON)
-#   include "msp430_types.h"
-#elif !defined(__linux__)
-#   include <sys/types.h>
-#endif
+#include <sys/types.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
GitLab