$NetBSD: patch-aa,v 1.3 2005/12/05 20:50:12 rillig Exp $

--- tme/threads.h.orig	2003-06-27 21:09:10.000000000 +0000
+++ tme/threads.h
@@ -41,6 +41,7 @@
 
 /* includes: */
 #include <errno.h>
+#include <sys/time.h>
 
 /* note that our locking model never allows recursive locking. */
 
