diff options
author | Benjamin Kaduk <kaduk@mit.edu> | 2020-05-11 09:29:24 -0700 |
---|---|---|
committer | Benjamin Kaduk <kaduk@mit.edu> | 2020-05-13 00:02:56 -0700 |
commit | dd63f9bbfc95931e4f41558fbc7a2ffb68b0eef0 (patch) | |
tree | be424a0c368eb86156c8895fd80c5cdc9c71f53c | |
parent | 7ef43790617cb08b4bb4141df716dfb37385fe5c (diff) |
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 <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11797)
-rw-r--r-- | apps/lib/http_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <string.h> #include <ctype.h> #include "http_server.h" #include "internal/sockets.h" |