summaryrefslogtreecommitdiffstats
path: root/accessibility/gail/files/patch-tests::ferret.c
blob: 09598ef4fc3cb7bf72543b8f4a034363e44e589e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

$FreeBSD: ports/x11-toolkits/gail/files/patch-tests::ferret.c,v 1.1 2002/02/17 10:27:29 sobomax Exp $

--- tests/ferret.c  2002/02/17 09:45:53 1.1
+++ tests/ferret.c  2002/02/17 10:10:16
@@ -3,9 +3,9 @@
 #define MAX_GROUPS 20
 #define MAX_NAME_VALUE 20
 
-#include <netinet/in.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <sys/un.h>
 #include <errno.h>
 #include <unistd.h>
@@ -239,8 +239,8 @@
 static GtkWidget *menuitem_trackmouse = NULL;
 static GtkWidget *menuitem_trackfocus = NULL;
 
-static struct sockaddr_un mag_server = { AF_UNIX , "/tmp/magnifier_socket" };
-static struct sockaddr_un client = { AF_UNIX, "/tmp/mag_client"};
+static struct sockaddr_un mag_server = { 0, AF_UNIX , "/tmp/magnifier_socket" };
+static struct sockaddr_un client = { 0, AF_UNIX, "/tmp/mag_client"};
 
 /* GUI Information for the output window */
 typedef struct