$NetBSD: patch-aa,v 1.6 2014/01/27 20:25:18 wiz Exp $

--- dcraw.c.orig	2014-01-27 00:00:04.000000000 +0000
+++ dcraw.c
@@ -83,6 +83,7 @@ typedef unsigned long long UINT64;
 #include <lcms2.h>		/* Support color profiles */
 #endif
 #ifdef LOCALEDIR
+#include <locale.h>
 #include <libintl.h>
 #define _(String) gettext(String)
 #else
