]> granicus.if.org Git - postgresql/commitdiff
Add #includes missed in commit e22b27f0cb3ee03ee300d431997f5944ccf2d7b3.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Mar 2018 04:46:43 +0000 (00:46 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Mar 2018 04:46:43 +0000 (00:46 -0400)
Leaving out getopt_long.h works on some platforms, but not all.
Per buildfarm.

Discussion: https://postgr.es/m/20180325030552.f462zqmohs6cqekg@alap3.anarazel.de

src/bin/pg_controldata/pg_controldata.c
src/bin/pg_resetwal/pg_resetwal.c

index 0dbf8e2f6b66876c3ecf7d563b79c4754f89a4a8..7d435ffa5786ee2ea1a4aca461d9e03837ded7ee 100644 (file)
@@ -25,6 +25,7 @@
 #include "catalog/pg_control.h"
 #include "common/controldata_utils.h"
 #include "pg_getopt.h"
+#include "getopt_long.h"
 
 
 static void
index ba3b8b4d6b71909bb90c1bbcf1b8d95c493ab38c..8b1c9355c5eb8487a2705f03495eff671b9109a4 100644 (file)
@@ -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 */