$NetBSD$

--- qw_server/sys_unix.c.orig	Mon Jan 10 16:59:37 2000
+++ qw_server/sys_unix.c
@@ -25,7 +25,7 @@
 #endif
 
 // FIXME: use autoconf
-#if defined(unix) || defined(_AIX)
+#if defined(unix) || defined(_AIX) || defined(__NetBSD__)
 #include <sys/stat.h>
 #include <unistd.h>
 #include <sys/time.h>
