$NetBSD: patch-ah,v 1.2 2006/04/02 22:46:55 wiz Exp $

--- providers/postgres/utils.c.orig	2006-02-04 21:13:43.000000000 +0000
+++ providers/postgres/utils.c
@@ -26,6 +26,9 @@
 #include <glib/gi18n-lib.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
 #include "gda-postgres.h"
 #include "gda-postgres-blob.h"
 #ifdef HAVE_LOCALE_H
