$NetBSD: patch-aa,v 1.3 2007/09/16 13:32:48 obache Exp $

--- dcraw.c.orig	2007-08-10 21:09:34.000000000 +0000
+++ dcraw.c
@@ -48,6 +48,7 @@
 #include <lcms.h>
 #endif
 #ifdef LOCALEDIR
+#include <locale.h>
 #include <libintl.h>
 #define _(String) gettext(String)
 #else
