From: Richard Levitte Date: Tue, 20 Sep 2016 16:43:24 +0000 (+0200) Subject: apps/apps.c: include sys/socket.h to declare recv() X-Git-Tag: OpenSSL_1_1_0a~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e5cb5dbd3cc55514bb1e59a63dc8cb49221ec506;p=oweals%2Fopenssl.git apps/apps.c: include sys/socket.h to declare recv() Reviewed-by: Tim Hudson (cherry picked from commit a19228b7f4fc6fcb49713455b3caedbc24fb0b01) --- diff --git a/apps/apps.c b/apps/apps.c index 6ca0f2b1bc..aa564b8e8f 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2340,6 +2340,8 @@ int raw_read_stdin(void *buf, int siz) return (-1); } #elif defined(__VMS) +#include + int raw_read_stdin(void *buf, int siz) { return recv(fileno_stdin(), buf, siz, 0);