Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8b4d5c7

Browse files
committed
Include locale.h before undefining gettext() to avoid compilation errors
on Solaris. per report from Lee Kindness, 2001-10-23
1 parent 6f6d16a commit 8b4d5c7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/include/c.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: c.h,v 1.104 2001/10/19 15:38:57 tgl Exp $
15+
* $Id: c.h,v 1.105 2001/10/24 21:49:14 petere Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -69,6 +69,9 @@
6969
#include <SupportDefs.h>
7070
#endif
7171

72+
/* Must be before gettext() games below */
73+
#include <locale.h>
74+
7275
#ifdef ENABLE_NLS
7376
#include <libintl.h>
7477
#else

0 commit comments

Comments
 (0)