26 lines
637 B
Text
26 lines
637 B
Text
$NetBSD: patch-ba,v 1.3 2005/12/27 14:00:53 joerg Exp $
|
|
|
|
--- server/waisserver.c.orig 1999-04-16 09:59:45.000000000 +0000
|
|
+++ server/waisserver.c
|
|
@@ -44,6 +44,9 @@ static char *PRCSid = "$Id: waisserver.c
|
|
#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"
|
|
@@ -313,9 +316,10 @@ srcfiles(e)
|
|
/*---------------------------------------------------------------------------*/
|
|
|
|
#ifdef HAS_SYS_ERRLIST
|
|
-extern int errno;
|
|
+#if !(defined(BSD) && BSD >= 199306)
|
|
extern int sys_nerr;
|
|
#endif
|
|
+#endif
|
|
|
|
Pid_t pgrp;
|
|
|