summaryrefslogtreecommitdiff
path: root/misc/team/patches/patch-b
diff options
context:
space:
mode:
Diffstat (limited to 'misc/team/patches/patch-b')
-rw-r--r--misc/team/patches/patch-b28
1 files changed, 28 insertions, 0 deletions
diff --git a/misc/team/patches/patch-b b/misc/team/patches/patch-b
new file mode 100644
index 00000000000..293325e09a3
--- /dev/null
+++ b/misc/team/patches/patch-b
@@ -0,0 +1,28 @@
+diff -u team-3.1/team.c ./team.c
+--- team-3.1/team.c Sat Jul 1 17:33:24 1995
++++ ./team.c Sat Jul 1 17:54:05 1995
+@@ -85,6 +85,11 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+
++#ifdef HAVE_PARAM_H
++#include <sys/param.h>
++#endif
++
++
+ #ifdef sun
+ # undef F_SETLKW
+ #endif
+@@ -286,7 +291,12 @@
+ do
+ {
+ #if (defined i386 || defined sun)
++# if !(defined(BSD) && (BSD >= 199306))
+ extern char *(sys_errlist[]);
++# endif
++# if (defined(BSD) && (BSD >= 199306)) && __STDC__
++ const
++# endif
+ char *errmsg = sys_errlist[errno];
+ #else
+ char errmsg[32];