summaryrefslogtreecommitdiff
path: root/src/timezone/localtime.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-10-26 13:30:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-10-26 13:30:10 +0000
commit8164fb88875c7160dbdb9480df7e24eccfb356fb (patch)
tree3d4c1e67c40277e15b811c7e34ef1dccc7f73aad /src/timezone/localtime.c
parent350196df4ab96d2f568666fc7a86323a27f4d138 (diff)
downloadpostgresql-8164fb88875c7160dbdb9480df7e24eccfb356fb.tar.gz
Avoid including any backend-only stuff in the zic utility program.
Per gripe from Zdenek Kotala, though not exactly his patch.
Diffstat (limited to 'src/timezone/localtime.c')
-rw-r--r--src/timezone/localtime.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/timezone/localtime.c b/src/timezone/localtime.c
index 774d83a2f6..0deb63a2c4 100644
--- a/src/timezone/localtime.c
+++ b/src/timezone/localtime.c
@@ -3,7 +3,7 @@
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/timezone/localtime.c,v 1.17 2007/08/04 19:29:25 tgl Exp $
+ * $PostgreSQL: pgsql/src/timezone/localtime.c,v 1.18 2007/10/26 13:30:10 tgl Exp $
*/
/*
@@ -12,7 +12,8 @@
* (guy@auspex.com).
*/
-#include "postgres.h"
+/* this file needs to build in both frontend and backend contexts */
+#include "c.h"
#include <fcntl.h>