Re: Digital Mars patches
Hrvoje Niksic <[email protected]> Wed, 06 Jul 2005 23:32:30 +0200
| Newsgroups | gmane.comp.web.wget.patches |
|---|---|
| Message-ID | <[email protected]> |
Gisle Vanem <[email protected]> writes: > #include <stdio.h> > +#include <stdlib.h> /* getenv */ Is this really necessary? getopt.c intentionally doesn't include stdlib.h because on many systems stdlib.h declares a getopt with an incompatible prototype. getopt.c tries to declare getenv anyway: #ifndef getenv extern char *getenv (); #endif Doesn't this work for DMC?