Looks like only I_POLL is needed. I added it to common/util.c. Spec.xs had Finder.h first, so it bombed early, so I switched the order of its includes. With this patch, MacOSX::File compiles and passes tests on Panther with gcc 3.3.
--- Spec/Spec.xs.orig Mon Jan 12 21:41:58 2004 +++ Spec/Spec.xs Mon Jan 12 21:43:25 2004 @@ -9,8 +9,8 @@ return -1; } -#include <Finder.h> #include "common/util.c" +#include <Finder.h> #define ClassName "MacOSX::File::Spec" --- common/util.c.orig Mon Jan 12 21:41:49 2004 +++ common/util.c Mon Jan 12 21:42:42 2004 @@ -5,6 +5,8 @@ #ifndef _INC_UTIL_C_ # define _INC_UTIL_C_ +#undef I_POLL + #include <sys/param.h> #include <Files.h> -- Chris Nandor [EMAIL PROTECTED] http://pudge.net/ Open Source Development Network [EMAIL PROTECTED] http://osdn.com/