HEADS UP: use proper includes (was: [cvs] bogofilter/src bogoutil.c,1.99,1.100)
Matthias Andree
matthias.andree at gmx.de
Thu Feb 5 03:23:39 CET 2004
On Wed, 04 Feb 2004, relson at users.sourceforge.net wrote:
> Update of /cvsroot/bogofilter/bogofilter/src
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20908
>
> Modified Files:
> bogoutil.c
> Log Message:
> Provide prototype for getopt().
> +#include <getopt.h>
Not that again. :-/
getopt.h is not a system header but a proprietary FSF (GNU) extension.
unistd.h shall contain this prototype according to POSIX 2001:
int getopt(int, char * const [], const char *);
If you want to include a file that is local to leafnode, please use
#include "getopt.h" - we have that file available and can adjust
CPPFLAGS accordingly.
--
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95
More information about the bogofilter-dev
mailing list