summaryrefslogtreecommitdiff
path: root/mbone/vic/patches/patch-af
blob: a5d4f534782e2ec7c80bed36a2c8a9723a5290aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-af,v 1.2 1998/08/07 11:10:07 agc Exp $

--- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/config.h	Thu May 16 14:27:06 1996
+++ config.h	Wed Nov 19 15:46:41 1997
@@ -36,7 +36,7 @@
 #ifndef vic_config_h
 #define vic_config_h
 
-#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__)
+#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__)
 #include <sys/types.h>
 #elif defined(linux)
 #include <sys/bitypes.h>
@@ -83,7 +83,7 @@
 #include <arpa/inet.h>
 int strcasecmp(const char *, const char *);
 clock_t clock(void);
-#if !defined(sco) && !defined(sgi) && !defined(__bsdi__) && !defined(__FreeBSD__)
+#if !defined(sco) && !defined(sgi) && !defined(__bsdi__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
 int gethostid(void);
 #endif
 time_t time(time_t *);