diff options
author | enami <enami> | 2002-05-09 13:50:06 +0000 |
---|---|---|
committer | enami <enami> | 2002-05-09 13:50:06 +0000 |
commit | cfb743cfb045a8ce124220699fcffd0280f54a34 (patch) | |
tree | ef725e5736bb914d5a475fa31a7deec319c48d50 /net/upclient/patches/patch-ac | |
parent | ff202044a47fe65c33db7bd1400947311b6781a3 (diff) | |
download | pkgsrc-cfb743cfb045a8ce124220699fcffd0280f54a34.tar.gz |
sys/sched.h is available only on recent NetBSD.
Diffstat (limited to 'net/upclient/patches/patch-ac')
-rw-r--r-- | net/upclient/patches/patch-ac | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/upclient/patches/patch-ac b/net/upclient/patches/patch-ac index 4dd8debb8d9..918dc8550eb 100644 --- a/net/upclient/patches/patch-ac +++ b/net/upclient/patches/patch-ac @@ -1,12 +1,14 @@ -$NetBSD: patch-ac,v 1.5 2002/05/07 22:25:04 hubertf Exp $ +$NetBSD: patch-ac,v 1.6 2002/05/09 13:50:06 enami Exp $ ---- src/stats-bsd.c.orig Sat Jun 16 21:12:53 2001 +--- src/stats-bsd.c.orig Sun Jun 17 04:12:53 2001 +++ src/stats-bsd.c -@@ -21,6 +21,7 @@ +@@ -21,6 +21,9 @@ #include <sys/dkstat.h> #include <sys/sysctl.h> #include <sys/utsname.h> ++#if defined(__NetBSD__) && __NetBSD_Version__ >= 104000000 +#include <sys/sched.h> ++#endif /** * @desc Get statistics |