$NetBSD: patch-aa,v 1.8 2007/02/01 12:15:39 drochner Exp $

--- src/stdfn.h.orig	2004-04-13 19:24:01.000000000 +0200
+++ src/stdfn.h
@@ -258,6 +258,11 @@ extern char *sys_errlist[];
 # include <time.h>
 #endif
 
+/* <sys/time.h> may be needed for fd_set and/or some of the above */
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
+
 #ifndef HAVE_TIME_T_IN_TIME_H
 # define time_t long
 #endif
@@ -324,7 +329,7 @@ int gp_strnicmp __PROTO((const char *, c
 #endif
 
 /* sleep delay time, where delay is a double value */
-#if defined(HAVE_USLEEP)
+#if 0 /*defined(HAVE_USLEEP)*/
 #  define GP_SLEEP(delay) usleep((unsigned int) ((delay)*1e6))
 #  ifndef HAVE_SLEEP
 #    define HAVE_SLEEP
