Commit 9583e416 authored by Richard Levitte's avatar Richard Levitte
Browse files

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



Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
(cherry picked from commit a19228b7)
parent ff553f83
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);