$NetBSD: patch-ac,v 1.1.1.1 2003/08/16 15:33:01 drochner Exp $

--- sys/rand.c.orig	2003-08-11 15:41:44.000000000 +0200
+++ sys/rand.c	2003-08-11 15:42:54.000000000 +0200
@@ -5,6 +5,7 @@
 //#include "../sys/delay.h"
 
 // gettimeofday() does not exist in mingw libraries
+#include <sys/types.h>
 #include <sys/timeb.h>
 
 u16 agi_rand_seed = 0;
