$NetBSD: patch-aa,v 1.3 2006/02/04 17:03:30 wiz Exp $

--- src/main.c.orig	2005-05-15 17:02:21.000000000 +0000
+++ src/main.c
@@ -25,6 +25,9 @@
 
 #include <stdio.h>
 #include <libgnomedb/libgnomedb.h>
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
 #include <gtk/gtk.h>
 #include "workspace-window.h"
 #include "session.h"
