[distcc] distcc 2.17 portability patch

Gary V. Vaughan distcc at mlists.thewrittenword.com
Fri Aug 27 14:25:20 GMT 2004


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.
-------------- next part --------------
--- 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


More information about the distcc mailing list