blob: 5673d48ab61d254b0893abbddce4731a5f1071e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$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 <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
|