$NetBSD: patch-ad,v 1.1 2006/08/06 18:55:46 schwarz Exp $

--- database.c.orig	2006-08-06 19:25:38.000000000 +0200
+++ database.c	2006-08-06 20:42:21.000000000 +0200
@@ -19,6 +19,7 @@
  */
 
 
+#include <sys/types.h>
 #include <string.h>
 #include <strings.h>
 #include <stdlib.h>
