aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-07-22 01:41:24 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-07-22 01:41:24 +0000
commit68938c4770abb7bb812d1104863b6f5f5c53e7d6 (patch)
tree0f533a18fe5fa3ce59f6db2da52d57227cd22f9d
parent2042b3428d3947987b27dbd4598fd9a5716ec9e8 (diff)
downloadpostgresql-68938c4770abb7bb812d1104863b6f5f5c53e7d6.tar.gz
postgresql-68938c4770abb7bb812d1104863b6f5f5c53e7d6.zip
Add missing <getopt.h>, per Dann Corbit.
-rw-r--r--src/timezone/zic.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/timezone/zic.c b/src/timezone/zic.c
index 90fe89ea080..ac52a43fec6 100644
--- a/src/timezone/zic.c
+++ b/src/timezone/zic.c
@@ -3,13 +3,16 @@
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/timezone/zic.c,v 1.8 2004/06/03 02:08:07 tgl Exp $
+ * $PostgreSQL: pgsql/src/timezone/zic.c,v 1.9 2004/07/22 01:41:24 tgl Exp $
*/
#include "postgres.h"
-#include <locale.h>
+#ifdef HAVE_GETOPT_H
+#include <getopt.h>
+#endif
#include <limits.h>
+#include <locale.h>
#include "pgtz.h"
#include "private.h"