Hi! The following patch fixes a compilation error on Tru64 Unix where the sa_family_t declaration clashes with the system declaration. Since distcc.h doesn't #include <config.h>, the clause always passes its declaration through to the compiler.
It turns out that sa_family_t is not used anywhere in the distcc-2.17 sources, so it's easiest to just remove it. The checks in configure.ac ought to be removed too, but that is not included in this patch. Cheers, Gary.
--- src/distcc.h.orig Tue Aug 24 14:06:32 2004 +++ src/distcc.h Tue Aug 24 14:06:50 2004 @@ -50,10 +50,6 @@ #endif -#ifndef HAVE_SA_FAMILY_T -typedef int sa_family_t; -#endif - #ifndef TRUE # define TRUE 1 # define FALSE 0
__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc