From: Randal L. Schwartz Date: Thu, 21 Dec 2006 01:08:45 GMT Subject: Re: [BUG] daemon.c blows up on OSX Message-ID: <8664c6xdgi.fsf@blue.stonehenge.com> In-Reply-To: >>>>> "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. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.