On Sun, 2 Apr 2006, John Wang wrote:
On 4/2/06, Robin Bowes wrote:
Or:
perl -pi -e 's/extern int errno;/#include <errno.h>/' error.h
There are several ways to fix the problem - which one you choose depends
on your "religious" leanings :)
I'd add this to the page but I can't remember my password, or see how to
get it reset.
Thanks Robin. I added your method to the wiki as the first one option. I
think it's the cleaner, especially since the conf-cc file for daemontools
already has 10 flags.
Modifying conf-cc is the only way which is guaranteed to comply with DJB's
license conditions. The perl edit script maybe considered as a source
code patch, and binaries built from patched source code may not be
distributed.
---
Charlie