From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 16 Apr 2014 17:27:00 +0000 (-0400)
Subject: pg_upgrade:  remove redundant include files
X-Git-Tag: REL9_4_BETA1~164
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95cb917297ebe77add3cef4f01cca1004031fa9a;p=postgresql

pg_upgrade:  remove redundant include files

The files were already included by pg_upgrade.h.
---

diff --git a/contrib/pg_upgrade/exec.c b/contrib/pg_upgrade/exec.c
index c991a8d033..7f013013a0 100644
--- a/contrib/pg_upgrade/exec.c
+++ b/contrib/pg_upgrade/exec.c
@@ -12,7 +12,6 @@
 #include "pg_upgrade.h"
 
 #include <fcntl.h>
-#include <unistd.h>
 #include <sys/types.h>
 
 static void check_data_dir(const char *pg_data);
diff --git a/contrib/pg_upgrade/option.c b/contrib/pg_upgrade/option.c
index cd9f66dd11..acec083c0f 100644
--- a/contrib/pg_upgrade/option.c
+++ b/contrib/pg_upgrade/option.c
@@ -16,7 +16,6 @@
 
 #include <time.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #ifdef WIN32
 #include <io.h>
 #endif