diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-07-19 01:18:05 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-07-19 01:18:05 +0000 |
commit | c9acd2da12bc7fd01c7b81702d116594205f0e85 (patch) | |
tree | 4c1ea951ba43a0bc68567faa91b80c1f19c2064f /src/interfaces | |
parent | 44bc7ab2a63aa133b465efb3400d6b5254bd71e5 (diff) | |
download | postgresql-c9acd2da12bc7fd01c7b81702d116594205f0e85.tar.gz postgresql-c9acd2da12bc7fd01c7b81702d116594205f0e85.zip |
Remove getopt configure check.
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/ecpg/preproc/ecpg.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c index a75adbcfc55..07fc820df87 100644 --- a/src/interfaces/ecpg/preproc/ecpg.c +++ b/src/interfaces/ecpg/preproc/ecpg.c @@ -2,14 +2,11 @@ /* (C) Michael Meskes <meskes@debian.org> Feb 5th, 1998 */ /* Placed under the same copyright as PostgresSQL */ +#include <unistd.h> #include "postgres.h" -#ifdef HAVE_GETOPT_H -#include <getopt.h> -#else -#include <unistd.h> -extern int optind; -extern char *optarg; +#ifdef __CYGWIN32__ +#include "getopt.h" #endif #include "extern.h" |