diff options
Diffstat (limited to 'src/port/getopt_long.c')
-rw-r--r-- | src/port/getopt_long.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/port/getopt_long.c b/src/port/getopt_long.c index 4c1f65d7767..2bf0c8c9e34 100644 --- a/src/port/getopt_long.c +++ b/src/port/getopt_long.c @@ -35,19 +35,22 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $PostgreSQL: pgsql/src/port/getopt_long.c,v 1.3 2003/11/29 19:52:13 pgsql Exp $ + * $PostgreSQL: pgsql/src/port/getopt_long.c,v 1.4 2005/07/28 04:03:14 tgl Exp $ */ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> +#include "c.h" #include "getopt_long.h" +#ifndef HAVE_INT_OPTRESET +int optreset; +#endif + #define BADCH '?' #define BADARG ':' #define EMSG "" + int getopt_long(int argc, char *const argv[], const char *optstring, |