Leaving out getopt_long.h works on some platforms, but not all.
Per buildfarm.
Discussion: https://postgr.es/m/
20180325030552.f462zqmohs6cqekg@alap3.anarazel.de
index 0dbf8e2f6b66876c3ecf7d563b79c4754f89a4a8..7d435ffa5786ee2ea1a4aca461d9e03837ded7ee 100644 (file)
#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)
#include "common/restricted_token.h"
#include "storage/large_object.h"
#include "pg_getopt.h"
+#include "getopt_long.h"
static ControlFileData ControlFile; /* pg_control values */