$NetBSD: patch-aa,v 1.9 2007/11/30 07:13:19 cjs Exp $

--- src/stdfn.h.orig	2006-05-13 18:22:17.000000000 +0900
+++ src/stdfn.h	2007-11-30 15:57:17.000000000 +0900
@@ -261,6 +261,11 @@
 # define time_t long
 #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
+
 #if defined(PIPES) && (defined(VMS) || (defined(OSK) && defined(_ANSI_EXT))) || defined(PIPES) && defined(AMIGA_SC_6_1)
 FILE *popen __PROTO((char *, char *));
 int pclose __PROTO((FILE *));
@@ -337,7 +342,7 @@
 #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
