From: Benjamin Kaduk Date: Mon, 11 May 2020 16:29:24 +0000 (-0700) Subject: Fix FreeBSD build with --strict-warnings X-Git-Tag: openssl-3.0.0-alpha2~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd63f9bbfc95931e4f41558fbc7a2ffb68b0eef0;p=thirdparty%2Fopenssl.git Fix FreeBSD build with --strict-warnings apps/lib/http_server.c needs to include string.h in order to get a prototype for strerror(). Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/11797) --- diff --git a/apps/lib/http_server.c b/apps/lib/http_server.c index 6db11f4150..2b5c9f5dcd 100644 --- a/apps/lib/http_server.c +++ b/apps/lib/http_server.c @@ -17,6 +17,7 @@ # define _POSIX_C_SOURCE 2 #endif +#include #include #include "http_server.h" #include "internal/sockets.h"