>>>>> "Brian" == Brian Gernhardt writes: Brian> On Dec 20, 2006, at 8:08 PM, Randal L. Schwartz wrote: >>>>>>> "Terje" == Terje Sten Bjerkseth writes: >> >> Terje> +#ifndef __APPLE_CC__ Terje> #define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD Terje> needs 600 for S_ISLNK() */ Terje> #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */ Terje> +#endif Terje> #define _GNU_SOURCE Terje> #define _BSD_SOURCE Terje> - >> >> I tried the moral equivalent of that, and it failed to compile many >> other things then. So that's not it. Brian> Well, it seems to work for me as is (although I applied it manually instead Brian> of dealing with copy/paste with a patch). I did it with #if 0 / #end instead of the __APPLE_CC__ symbol. But, weirdly, now that I used the symbol, I get a good compile. Does #if 0 not work? :) Sorry for being objectionable earlier then. I've attached the precise patch I used and works and verified. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!