git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 038a2ed)
Add #includes missed in commit e22b27f0cb3ee03ee300d431997f5944ccf2d7b3.
2018年3月25日 04:46:43 +0000 (00:46 -0400)
2018年3月25日 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


diff --git a/src/bin/pg_controldata/pg_controldata.c b/src/bin/pg_controldata/pg_controldata.c
index 0dbf8e2f6b66876c3ecf7d563b79c4754f89a4a8..7d435ffa5786ee2ea1a4aca461d9e03837ded7ee 100644 (file)
--- 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 ba3b8b4d6b71909bb90c1bbcf1b8d95c493ab38c..8b1c9355c5eb8487a2705f03495eff671b9109a4 100644 (file)
--- 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 */
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /