[vino] Fix build in OpenBSD



commit 94be059e2b13053784c4528cf610b6e2532ec294
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Thu Oct 15 13:12:41 2009 -0300

    Fix build in OpenBSD

 server/vino-dbus-listener.c |    1 +
 server/vino-mdns.c          |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/server/vino-dbus-listener.c b/server/vino-dbus-listener.c
index 3c04e32..6caf5b1 100644
--- a/server/vino-dbus-listener.c
+++ b/server/vino-dbus-listener.c
@@ -35,6 +35,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <netdb.h>
+#include <sys/socket.h>
 #include <net/if.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
diff --git a/server/vino-mdns.c b/server/vino-mdns.c
index ab35f73..0a742f4 100644
--- a/server/vino-mdns.c
+++ b/server/vino-mdns.c
@@ -27,6 +27,7 @@
 
 #ifdef VINO_HAVE_AVAHI
 
+#include <sys/socket.h>
 #include <net/if.h>
 #include <string.h>
 #include <avahi-client/publish.h>



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