[vino/gnome-2-26] Include netinet/in.h for sockaddr_in. POSIX specifies the declaration to be there, this is not a pro



commit ba8a80739e346fe8f221241d34af5b32a3f51f7b
Author: Alexis Ballier <aballier gentoo org>
Date:   Sat May 16 08:15:58 2009 +0200

    Include netinet/in.h for sockaddr_in. POSIX specifies the declaration to be there, this is not a problem on Linux because other headers already include it but on FreeBSD it is.
---
 server/vino-dbus-listener.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/vino-dbus-listener.c b/server/vino-dbus-listener.c
index 71a6cb7..3950dca 100644
--- a/server/vino-dbus-listener.c
+++ b/server/vino-dbus-listener.c
@@ -37,6 +37,7 @@
 #include <netdb.h>
 #include <net/if.h>
 #include <arpa/inet.h>
+#include <netinet/in.h>
 
 #include <dbus/dbus-glib.h>
 #include <dbus/dbus-glib-lowlevel.h>



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