$NetBSD: patch-af,v 1.1 2007/12/02 09:38:51 rillig Exp $

--- src/main.h.orig	2006-06-19 03:22:03.000000000 +0200
+++ src/main.h	2007-12-02 10:14:17.000000000 +0100
@@ -22,6 +22,8 @@
 #ifndef MAIN_H
 #define MAIN_H
 
+#include <sys/stat.h>
+
 struct fileinlist; /* these two are defined in filesdb.h */
 struct filenamenode;
 
