[gupnp-igd] Fix build on OpenBSD.
- From: Olivier Crête <Tester src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gupnp-igd] Fix build on OpenBSD.
- Date: Mon, 24 Jun 2013 22:37:56 +0000 (UTC)
commit 43b3c5344ba0f0cab3848864938ad0a0c93b49cf
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Mon Jul 4 19:46:00 2011 +0000
    Fix build on OpenBSD.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=653970
 libgupnp-igd/gupnp-simple-igd.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libgupnp-igd/gupnp-simple-igd.c b/libgupnp-igd/gupnp-simple-igd.c
index 19df78e..2816282 100644
--- a/libgupnp-igd/gupnp-simple-igd.c
+++ b/libgupnp-igd/gupnp-simple-igd.c
@@ -42,8 +42,11 @@
 #include "gupnp-simple-igd.h"
 #include "gupnp-simple-igd-marshal.h"
 
-#include <string.h>
 #include <arpa/inet.h>
+#include <netinet/in.h>
+#include <string.h>
+#include <sys/types.h>
+#include <sys/socket.h>
 
 #include <libgupnp/gupnp.h>
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]