$NetBSD$

--- src/ui/cmd/bt-cmd.c.orig	2008-11-02 21:15:59.000000000 +0000
+++ src/ui/cmd/bt-cmd.c
@@ -43,6 +43,8 @@
 
 #include "bt-cmd.h"
 
+#include <locale.h>
+
 static void usage(int argc, char **argv, GOptionContext *ctx) {
 #if GLIB_CHECK_VERSION(2,14,0)
   gchar *help=g_option_context_get_help(ctx, TRUE, NULL);
