1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/x11-toolkits/gail/files/patch-tests::ferret.c

28 lines
800 B
C

$FreeBSD$
--- 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