[vinagre] Add missing includes to fix build on OpenBSD
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre] Add missing includes to fix build on OpenBSD
- Date: Tue, 27 Sep 2011 20:04:11 +0000 (UTC)
commit 3e8e6cf66229fa9d8e7c8a2cbab979bca327959a
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]