[vino] Include netinet/in.h for sockaddr_in. POSIX specifies the declaration to be there, this is not a pro
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Subject: [vino] Include netinet/in.h for sockaddr_in. POSIX specifies the declaration to be there, this is not a pro
- Date: Sat, 16 May 2009 08:00:47 -0400 (EDT)
commit 41bd5d954c1908d828e7a60bae5ec691c12495b0
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 ded309e..5bfc5e6 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]