summaryrefslogtreecommitdiff
path: root/src/include/getopt_long.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/getopt_long.h')
-rw-r--r--src/include/getopt_long.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/include/getopt_long.h b/src/include/getopt_long.h
index 563719b3f7c..e23c21f333c 100644
--- a/src/include/getopt_long.h
+++ b/src/include/getopt_long.h
@@ -9,15 +9,7 @@
#ifndef GETOPT_LONG_H
#define GETOPT_LONG_H
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#endif
-
-/* These are picked up from the system's getopt() facility. */
-extern int opterr;
-extern int optind;
-extern int optopt;
-extern char *optarg;
+#include "pg_getopt.h"
#ifndef HAVE_STRUCT_OPTION