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 <richard@levitte.org>
Tue, 20 Sep 2016 18:33:04 +0000 (20:33 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit a19228b7f4fc6fcb49713455b3caedbc24fb0b01)

apps/apps.c

index 6ca0f2b1bc5538f6f083ac3067f85a2a9854fc2d..aa564b8e8f8a753298f32b4653790ba19f2047b1 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);