projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef4379
)
Fix FreeBSD build with --strict-warnings
author
Benjamin Kaduk
<kaduk@mit.edu>
Mon, 11 May 2020 16:29:24 +0000
(09:29 -0700)
committer
Benjamin Kaduk
<kaduk@mit.edu>
Wed, 13 May 2020 07:02:56 +0000
(
00:02
-0700)
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)
apps/lib/http_server.c
patch
|
blob
|
history
diff --git
a/apps/lib/http_server.c
b/apps/lib/http_server.c
index 6db11f4150f9d2975bff684c49964135966dd94a..2b5c9f5dcd46da3fe0629e4c86e5d56102ff9fce 100644
(file)
--- 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"