apps/apps.c: include sys/socket.h to declare recv()
authorRichard Levitte <levitte@openssl.org>
Tue, 20 Sep 2016 16:43:24 +0000 (18:43 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 20 Sep 2016 16:43:24 +0000 (18:43 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
apps/apps.c

index 6ca0f2b..aa564b8 100644 (file)
@@ -2340,6 +2340,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);