apps/apps.c: include sys/socket.h to declare recv()

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit a19228b7f4)
This commit is contained in:
Richard Levitte 2016-09-20 18:43:24 +02:00
parent ff553f8371
commit 9583e4166d

View file

@ -3238,6 +3238,8 @@ int raw_read_stdin(void *buf, int siz)
return (-1);
}
#elif defined(__VMS)
#include <sys/socket.h>
int raw_read_stdin(void *buf, int siz)
{
return recv(fileno_stdin(), buf, siz, 0);