File 0616-kernel-test-Adjustments-to-new-compiler-C99.patch of Package erlang

From da426e86d37f05602f147b14c5d3839b677362f0 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Mon, 18 Mar 2019 17:10:47 +0100
Subject: [PATCH] [kernel|test] Adjustments to new compiler (C99)

---
 lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c b/lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c
index b91dca61d4..96938f9071 100644
--- a/lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c
+++ b/lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c
@@ -30,6 +30,7 @@
 #define sock_close(s) closesocket(s)
 #else
 #include <sys/socket.h>
+#include <unistd.h>
 #define sock_close(s) close(s)
 #endif
 
-- 
2.16.4