From 07a55ebf646eb244f52afc11fcca189b0d006970 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 16 Oct 2000 14:34:08 +0000
Subject: [PATCH] I submitted three patches to pgsql-patches@postgresql.org on
 Oct 13. Only two have shown up on the web site.  Even the mbox is missing the
 second.

The missing patch is a one-liner, so here it is.  I can resend the
whole bug report if wanted.

Pete Forman
---
 src/bin/pg_dump/pg_restore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c
index 68d528b8c65..458482ed511 100644
--- a/src/bin/pg_dump/pg_restore.c
+++ b/src/bin/pg_dump/pg_restore.c
@@ -88,7 +88,7 @@ static char* _cleanupName(char* name);
 
 typedef struct option optType;
 
-#ifdef HAVE_GETOPT_H
+#ifdef HAVE_GETOPT_LONG
 struct option cmdopts[] = {	
 				{ "clean", 0, NULL, 'c' },
 				{ "create", 0, NULL, 'C' },
-- 
GitLab