blob: da97640a12761a39233fb2f81288d286d766f89d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- libgnomevfs/gnome-vfs-address.c.orig Tue Dec 13 21:41:32 2005
+++ libgnomevfs/gnome-vfs-address.c Wed Dec 14 00:15:32 2005
@@ -32,6 +32,7 @@
#include <sys/types.h>
#ifndef G_OS_WIN32
+#include <sys/socket.h>
#include <sys/select.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -388,8 +389,8 @@ static gboolean
v6_v6_equal (const struct sockaddr_in6 *a,
const struct sockaddr_in6 *b)
{
- return IN6_ARE_ADDR_EQUAL (a->sin6_addr.s6_addr,
- b->sin6_addr.s6_addr);
+ return IN6_ARE_ADDR_EQUAL (&a->sin6_addr,
+ &b->sin6_addr);
}
static gboolean
|