X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=getopt%2Fgetopt.h;h=1549b0a58825e0300111f08653457c8b22c2e29b;hb=abb1313fdf0e1ebb60cb87dc96ab090fa93abfa4;hp=c5f98619b9a033d5fc4decebd39840598d0c064d;hpb=dc034c9d0b7d9c3874a324a4c2c189a02945adc8;p=ctsim.git diff --git a/getopt/getopt.h b/getopt/getopt.h index c5f9861..1549b0a 100644 --- a/getopt/getopt.h +++ b/getopt/getopt.h @@ -19,6 +19,10 @@ #ifndef _GETOPT_H +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif + #ifndef __need_getopt # define _GETOPT_H 1 #endif @@ -133,7 +137,7 @@ struct option errors, only prototype getopt for the GNU C library. */ extern int getopt (int __argc, char *const *__argv, const char *__shortopts); # else /* not __GNU_LIBRARY__ */ -extern int getopt (); + /* extern int getopt (); */ # endif /* __GNU_LIBRARY__ */ # ifndef __need_getopt