Skip to content

Commit 88dd65a

Browse files
committed
Fix lack of optreset.
1 parent 48adc0b commit 88dd65a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/bin/initdb/initdb.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* This is a C implementation of the previous shell script for setting up a
1313
* PostgreSQL cluster location, and should be highly compatible with it.
1414
*
15-
* $Header: /cvsroot/pgsql/src/bin/initdb/initdb.c,v 1.2 2003/11/10 22:52:10 momjian Exp $
15+
* $Header: /cvsroot/pgsql/src/bin/initdb/initdb.c,v 1.3 2003/11/13 01:09:24 tgl Exp $
1616
*
1717
* TODO:
1818
* - clean up find_postgres code and return values
@@ -30,16 +30,19 @@
3030

3131
#include "postgres_fe.h"
3232

33-
#include "getopt_long.h"
3433
#include <dirent.h>
3534
#include <sys/stat.h>
3635
#include <unistd.h>
3736
#include <locale.h>
38-
3937
#include <signal.h>
4038

4139
#include "libpq/pqsignal.h"
4240
#include "mb/pg_wchar.h"
41+
#include "getopt_long.h"
42+
43+
#ifndef HAVE_OPTRESET
44+
int optreset;
45+
#endif
4346

4447

4548
/* version string we expect back from postgres */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy