Add #includes missed in commit e22b27f0cb.

Leaving out getopt_long.h works on some platforms, but not all.
Per buildfarm.

Discussion: https://postgr.es/m/20180325030552.f462zqmohs6cqekg@alap3.anarazel.de
pull/31/merge
Tom Lane 8 years ago
parent 038a2ed139
commit 2dd3f969f5
  1. 1
      src/bin/pg_controldata/pg_controldata.c
  2. 1
      src/bin/pg_resetwal/pg_resetwal.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

@ -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 */

Loading…
Cancel
Save