diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2001-03-01 05:05:29 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2001-03-01 05:05:29 +0000 |
commit | fa2e3cffd3ce9910334d9be2f7813fe6e5a45e7c (patch) | |
tree | 4bd23d147071bd61a08599db90ed5664ad042935 /src/interfaces/ecpg/preproc/ecpg.c | |
parent | 7c5b2487b0fd9c730cdc48b08407456325bcc21b (diff) | |
download | postgresql-fa2e3cffd3ce9910334d9be2f7813fe6e5a45e7c.tar.gz |
Remove HAVE_OPTARG per discussion in hackers list.
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 c3f2929479..a3030098f3 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"); |