aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-03-25 00:46:43 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-03-25 00:46:43 -0400
commit2dd3f969f5f2de92182038d1e33b11c798688bc9 (patch)
treee173b60f44fb5bd1981e71078b107bbaca376ddc /src
parent038a2ed1392363a59adeee4e86d848ca74ce39c5 (diff)
downloadpostgresql-2dd3f969f5f2de92182038d1e33b11c798688bc9.tar.gz
postgresql-2dd3f969f5f2de92182038d1e33b11c798688bc9.zip
Add #includes missed in commit e22b27f0cb3ee03ee300d431997f5944ccf2d7b3.
Leaving out getopt_long.h works on some platforms, but not all. Per buildfarm. Discussion: https://postgr.es/m/20180325030552.f462zqmohs6cqekg@alap3.anarazel.de
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_controldata/pg_controldata.c1
-rw-r--r--src/bin/pg_resetwal/pg_resetwal.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/pg_controldata/pg_controldata.c b/src/bin/pg_controldata/pg_controldata.c
index 0dbf8e2f6b6..7d435ffa578 100644
--- a/src/bin/pg_controldata/pg_controldata.c
+++ b/src/bin/pg_controldata/pg_controldata.c
@@ -25,6 +25,7 @@
#include "catalog/pg_control.h"
#include "common/controldata_utils.h"
#include "pg_getopt.h"
+#include "getopt_long.h"
static void
diff --git a/src/bin/pg_resetwal/pg_resetwal.c b/src/bin/pg_resetwal/pg_resetwal.c
index ba3b8b4d6b7..8b1c9355c5e 100644
--- a/src/bin/pg_resetwal/pg_resetwal.c
+++ b/src/bin/pg_resetwal/pg_resetwal.c
@@ -55,6 +55,7 @@
#include "common/restricted_token.h"
#include "storage/large_object.h"
#include "pg_getopt.h"
+#include "getopt_long.h"
static ControlFileData ControlFile; /* pg_control values */