summaryrefslogtreecommitdiff
path: root/src/timezone/zic.c
diff options
context:
space:
mode:
authorTom Lane2006-10-19 20:38:48 +0000
committerTom Lane2006-10-19 20:38:48 +0000
commit443abd83e5a1ba50140cb5dca4e93c4c7e7be687 (patch)
treee2e3db421c63cdb3b6e523936b2a105623427aeb /src/timezone/zic.c
parent28997903a13c5ef2ac294398f047a8cbbc74d378 (diff)
Add externs for optarg/optind where apparently needed. Per Magnus.
Diffstat (limited to 'src/timezone/zic.c')
-rw-r--r--src/timezone/zic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/timezone/zic.c b/src/timezone/zic.c
index 039f6f73e07..f949f087842 100644
--- a/src/timezone/zic.c
+++ b/src/timezone/zic.c
@@ -3,7 +3,7 @@
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/timezone/zic.c,v 1.17 2006/10/16 19:58:27 tgl Exp $
+ * $PostgreSQL: pgsql/src/timezone/zic.c,v 1.18 2006/10/19 20:38:48 tgl Exp $
*/
#include "postgres.h"
@@ -14,6 +14,9 @@
#include <limits.h>
#include <locale.h>
+extern int optind;
+extern char *optarg;
+
#include "private.h"
#include "pgtz.h"
#include "tzfile.h"