$NetBSD: patch-ae,v 1.7 2012/12/12 12:35:21 wiz Exp $

Needs sys/types.h.

--- src/windiv.c.orig	2009-12-12 15:47:47.000000000 +0000
+++ src/windiv.c
@@ -20,6 +20,7 @@
 #include <config.h>
 #endif
 
+#include <sys/types.h>
 #include <dirent.h>
 #include <sys/stat.h>
 #include "port.h"
