diff options
Diffstat (limited to 'src/interfaces/ecpg/preproc/ecpg.c')
-rw-r--r-- | src/interfaces/ecpg/preproc/ecpg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c index c3f29294791..a3030098f3c 100644 --- a/src/interfaces/ecpg/preproc/ecpg.c +++ b/src/interfaces/ecpg/preproc/ecpg.c @@ -8,9 +8,6 @@ #ifdef HAVE_GETOPT_H #include "getopt.h" -#else -extern char *optarg; -extern int optind, opterr, optopt; #endif #include "extern.h" @@ -64,6 +61,9 @@ main(int argc, char *const argv[]) out_option = 0; struct _include_path *ip; + extern int optind; + extern char *optarg; + add_include_path("/usr/include"); add_include_path(INCLUDE_PATH); add_include_path("/usr/local/include"); |