From f9fe28ce15b2ca1f18374c08130daea89dd0f8c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Loi=CC=88c=20Correnson?= <loic.correnson@cea.fr>
Date: Wed, 1 Apr 2020 12:11:09 +0200
Subject: [PATCH] [tests] fix includes in libc

Does not work on macOS ; probably implicit path lookup is different than linux ?
---
 share/libc/netinet/in.h | 2 +-
 share/libc/sys/socket.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/libc/netinet/in.h b/share/libc/netinet/in.h
index e63125c5678..6eb54f02eb0 100644
--- a/share/libc/netinet/in.h
+++ b/share/libc/netinet/in.h
@@ -25,7 +25,7 @@
 
 #ifndef __FC_NETINET_IN
 #define __FC_NETINET_IN
-#include "features.h"
+#include "../features.h"
 __PUSH_FC_STDLIB
 #include "../__fc_inet.h"
 __POP_FC_STDLIB
diff --git a/share/libc/sys/socket.h b/share/libc/sys/socket.h
index bc155eeb8e7..4a6e6c21f4f 100644
--- a/share/libc/sys/socket.h
+++ b/share/libc/sys/socket.h
@@ -46,7 +46,7 @@ struct sockaddr_storage {
   sa_family_t   ss_family;
 };
 
-#include "sys/uio.h"
+#include "./uio.h"
 
 struct cmsghdr {
   socklen_t  cmsg_len;
-- 
GitLab