$NetBSD: patch-aa,v 1.7 2005/03/13 01:26:45 tv Exp $ --- src/stdfn.h.orig Tue Apr 13 13:24:01 2004 +++ src/stdfn.h @@ -258,6 +258,11 @@ extern char *sys_errlist[]; # include #endif +/* may be needed for fd_set and/or some of the above */ +#ifdef HAVE_SYS_TIME_H +# include +#endif + #ifndef HAVE_TIME_T_IN_TIME_H # define time_t long #endif