[vinagre/gnome-3-2] Add missing includes to fix build on OpenBSD



commit 8fc8b30f522015d2622eb3805f4083f4174df7bd
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Tue Sep 27 20:14:09 2011 +0200

    Add missing includes to fix build on OpenBSD
    
    Fixes bug 660274.

 plugins/vnc/vinagre-vnc-tunnel.c              |    1 +
 vinagre/vinagre-reverse-vnc-listener-dialog.c |    2 ++
 vinagre/vinagre-ssh.c                         |    1 +
 3 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/vnc/vinagre-vnc-tunnel.c b/plugins/vnc/vinagre-vnc-tunnel.c
index d909511..e75e708 100644
--- a/plugins/vnc/vinagre-vnc-tunnel.c
+++ b/plugins/vnc/vinagre-vnc-tunnel.c
@@ -20,6 +20,7 @@
  */
 
 #include <config.h>
+#include <arpa/inet.h>
 #include <netinet/in.h>
 #include <sys/socket.h>
 #include <unistd.h>
diff --git a/vinagre/vinagre-reverse-vnc-listener-dialog.c b/vinagre/vinagre-reverse-vnc-listener-dialog.c
index 2e57011..9f649b9 100644
--- a/vinagre/vinagre-reverse-vnc-listener-dialog.c
+++ b/vinagre/vinagre-reverse-vnc-listener-dialog.c
@@ -20,6 +20,8 @@
 
 #include <config.h>
 
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <net/if.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
diff --git a/vinagre/vinagre-ssh.c b/vinagre/vinagre-ssh.c
index 2a6b1b6..c5b3427 100644
--- a/vinagre/vinagre-ssh.c
+++ b/vinagre/vinagre-ssh.c
@@ -30,6 +30,7 @@
 #include <gio/gwin32inputstream.h>
 #include <gio/gwin32outputstream.h>
 #else /* !G_OS_WIN32 */
+#include <arpa/inet.h>
 #include <netinet/in.h>
 #include <gio/gunixinputstream.h>
 #include <gio/gunixoutputstream.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]