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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2dd3f969f5f2de92182038d1e33b11c798688bc9
Modified Files
--------------
src/bin/pg_controldata/pg_controldata.c | 1 +
src/bin/pg_resetwal/pg_resetwal.c | 1 +
2 files changed, 2 insertions(+)