summaryrefslogtreecommitdiff
path: root/net/freewais-sf/patches/patch-ba
blob: 03aa8f68fd6183505376f9023a41a3208c13fb32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ba,v 1.2 2005/12/05 20:50:45 rillig Exp $

--- server/waisserver.c.orig	1999-04-16 09:59:45.000000000 +0000
+++ server/waisserver.c
@@ -44,6 +44,9 @@
 #ifdef I_SYS_SELECT
 #include <sys/select.h>
 #endif
+#ifdef I_SYS_PARAM
+#include <sys/param.h>
+#endif
 #include "cdialect.h"
 #include "panic.h"
 #include "ustubs.h"
@@ -314,8 +317,10 @@ srcfiles(e)
 
 #ifdef HAS_SYS_ERRLIST
 extern int      errno;
+#if !(defined(BSD) && BSD >= 199306)
 extern int      sys_nerr;
 #endif
+#endif
 
 Pid_t pgrp;