diff options
author | phil <phil> | 2000-07-27 00:22:17 +0000 |
---|---|---|
committer | phil <phil> | 2000-07-27 00:22:17 +0000 |
commit | 0f7f709e6a50853489d57ec49a0e0970ec1875f6 (patch) | |
tree | 0aaff3b2b1aaf8675ff27a970bcf93c6aee70ab0 | |
parent | 5f41cdb65644e459e6dfd82d1645d3a689630743 (diff) | |
download | pkgsrc-0f7f709e6a50853489d57ec49a0e0970ec1875f6.tar.gz |
Patch to allow compile under -current. Conditionally include sys/sched.h.
-rw-r--r-- | net/coda5_client/patches/patch-ac | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net/coda5_client/patches/patch-ac b/net/coda5_client/patches/patch-ac new file mode 100644 index 00000000000..b8b36bea449 --- /dev/null +++ b/net/coda5_client/patches/patch-ac @@ -0,0 +1,34 @@ +$NetBSD: patch-ac,v 1.3 2000/07/27 00:22:17 phil Exp $ + +*** ./coda-src/vice/srvproc2.cc.orig Wed Jul 26 15:27:40 2000 +--- ./coda-src/vice/srvproc2.cc Wed Jul 26 15:28:48 2000 +*************** +*** 855,860 **** +--- 855,866 ---- + #include <kvm.h> + #include <sys/dkstat.h> + #include <limits.h> ++ #include <sys/dkstat.h> ++ #include <sys/param.h> ++ #if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104250000) ++ #include <sys/sched.h> ++ #endif /* __NetBSD__ */ ++ + + static struct nlist RawStats[] = + { +*** ./coda-src/venus/vol_vsr.cc.orig Wed Jul 26 15:16:06 2000 +--- ./coda-src/venus/vol_vsr.cc Wed Jul 26 15:22:15 2000 +*************** +*** 35,40 **** +--- 35,44 ---- + + #if defined(__BSD44__) + #include <sys/dkstat.h> ++ #include <sys/param.h> ++ #if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104250000) ++ #include <sys/sched.h> ++ #endif /* __NetBSD__ */ + #endif /* __BSD44__ */ + + #include <unistd.h> |