1 diff -up gamin-0.1.9/server/gam_channel.c.xxx gamin-0.1.9/server/gam_channel.c
2 --- gamin-0.1.9/server/gam_channel.c.xxx 2007-07-04 15:36:49.000000000 +0200
3 +++ gamin-0.1.9/server/gam_channel.c 2008-02-14 10:00:38.654849392 +0100
8 -#include <sys/socket.h>
13 #include "gam_channel.h"
14 #include "gam_protocol.h"
17 + /* Workaround for undefined struct ucred */
21 +#include <sys/socket.h>
24 /* #define CHANNEL_VERBOSE_DEBUGGING */
25 /************************************************************************
27 diff -up gamin-0.1.9/libgamin/gam_api.c.xxx gamin-0.1.9/libgamin/gam_api.c
28 --- gamin-0.1.9/libgamin/gam_api.c.xxx 2007-07-04 15:36:48.000000000 +0200
29 +++ gamin-0.1.9/libgamin/gam_api.c 2008-02-13 17:41:50.697896914 +0100
34 -#include <sys/socket.h>
40 #include "gam_error.h"
43 + /* Workaround for undefined struct ucred */
47 +#include <sys/socket.h>
52 #define MAX_RETRIES 25