Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang
0635-inets-Eliminate-warnings-in-C-code-in-test...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0635-inets-Eliminate-warnings-in-C-code-in-tests.patch of Package erlang
From 9327efe6867fbda34391c1b6696c25c99fbabb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Thu, 24 Sep 2020 09:51:38 +0200 Subject: [PATCH 4/4] inets: Eliminate warnings in C code in tests Apple Clang 12 in Xcode 12 reports an error for the use of a function without a declaration. --- lib/inets/test/httpd_SUITE_data/cgi_echo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/inets/test/httpd_SUITE_data/cgi_echo.c b/lib/inets/test/httpd_SUITE_data/cgi_echo.c index 580f860e96..e90b125a00 100644 --- a/lib/inets/test/httpd_SUITE_data/cgi_echo.c +++ b/lib/inets/test/httpd_SUITE_data/cgi_echo.c @@ -4,6 +4,8 @@ #if defined __WIN32__ #include <windows.h> #include <fcntl.h> +#else +#include <unistd.h> #endif static int read_exact(char *buffer, int len); -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor