$NetBSD: patch-aa,v 1.1 2007/08/30 19:49:00 joerg Exp $

--- src/filesemaphore.cpp.orig	2007-08-30 19:18:52.000000000 +0000
+++ src/filesemaphore.cpp
@@ -29,6 +29,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/mman.h>
+#include <sys/stat.h>
 #include <qfileinfo.h>
 #include "filesemaphore.h"
 
