diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c index 68d528b8c6..458482ed51 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' },