aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-10-24 21:49:14 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-10-24 21:49:14 +0000
commit8b4d5c757540cc824c38ca0ad2d9c6a706a7e2a4 (patch)
treee5b92485647636cc2a217a55ad30387a8bdcefab /src
parent6f6d16ab25bdd51e0fd9b4d8af4bfaaa6237bec3 (diff)
downloadpostgresql-8b4d5c757540cc824c38ca0ad2d9c6a706a7e2a4.tar.gz
postgresql-8b4d5c757540cc824c38ca0ad2d9c6a706a7e2a4.zip
Include locale.h before undefining gettext() to avoid compilation errors
on Solaris. per report from Lee Kindness, 2001-10-23
Diffstat (limited to 'src')
-rw-r--r--src/include/c.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 58e522a5e70..58b36b83cae 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.104 2001/10/19 15:38:57 tgl Exp $
+ * $Id: c.h,v 1.105 2001/10/24 21:49:14 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -69,6 +69,9 @@
#include <SupportDefs.h>
#endif
+/* Must be before gettext() games below */
+#include <locale.h>
+
#ifdef ENABLE_NLS
#include <libintl.h>
#else