--- lib/c-stack.c.orig	Sat Jun 22 15:25:12 2002
+++ lib/c-stack.c	Sun Jan 12 13:35:17 2003
@@ -67,6 +67,9 @@
 #include <stdlib.h>
 #include <string.h>
 
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#endif
 #if HAVE_SYS_RESOURCE_H
 # include <sys/resource.h>
 #endif
