$NetBSD: patch-af,v 1.3 2006/05/12 12:40:10 joerg Exp $

--- qw/server/sys_unix.c.orig	1999-12-21 18:45:14.000000000 +0000
+++ qw/server/sys_unix.c
@@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suit
 #include <libc.h>
 #endif
 
-#if defined(__linux__) || defined(sun)
+#if defined(__linux__) || defined(sun) || defined(__NetBSD__) || defined(__DragonFly__)
 #include <sys/stat.h>
 #include <unistd.h>
 #include <sys/time.h>
