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:
parent
ff553f8371
commit
9583e4166d
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue