From: Peter Eisentraut Date: Wed, 24 Oct 2001 21:49:14 +0000 (+0000) Subject: Include locale.h before undefining gettext() to avoid compilation errors X-Git-Tag: REL9_0_0~19291 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8b4d5c757540cc824c38ca0ad2d9c6a706a7e2a4;p=pg-rex%2Fsyncrep.git Include locale.h before undefining gettext() to avoid compilation errors on Solaris. per report from Lee Kindness, 2001-10-23 --- diff --git a/src/include/c.h b/src/include/c.h index 58e522a5e7..58b36b83ca 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 #endif +/* Must be before gettext() games below */ +#include + #ifdef ENABLE_NLS #include #else