$NetBSD: patch-ab,v 1.12 2013/04/10 11:41:37 wiz Exp $

--- src/fccache.c.orig	2013-03-21 09:50:26.000000000 +0000
+++ src/fccache.c
@@ -31,6 +31,7 @@
 #include <dirent.h>
 #include <string.h>
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <assert.h>
 #if defined(HAVE_MMAP) || defined(__CYGWIN__)
 #  include <unistd.h>
