Oliver Lehmann wrote: > +#ifndef environ > +extern char **environ; > +#endif Nuh-uh. ifndef is almost certainly not what we want here. Either use a FreeBSD-specific check, or add a generic check to configure to see if it needs to be declared or not. -b