29 lines
658 B
Text
29 lines
658 B
Text
$NetBSD: patch-ab,v 1.1.1.1 2003/05/07 21:36:27 jeremy-c-reed Exp $
|
|
|
|
--- portmap.c.orig 2003-03-19 23:42:46.000000000 -0800
|
|
+++ portmap.c 2003-03-19 23:44:06.000000000 -0800
|
|
@@ -85,6 +85,7 @@
|
|
#include <stdio.h>
|
|
#include <syslog.h>
|
|
#include <netdb.h>
|
|
+#include <errno.h>
|
|
#include <sys/socket.h>
|
|
#include <sys/ioctl.h>
|
|
#include <sys/wait.h>
|
|
@@ -124,7 +125,6 @@
|
|
static void callit();
|
|
struct pmaplist *pmaplist;
|
|
int debugging = 0;
|
|
-extern int errno;
|
|
|
|
#include "pmap_check.h"
|
|
|
|
@@ -235,7 +235,7 @@
|
|
/* need to override perror calls in rpc library */
|
|
void
|
|
perror(what)
|
|
- const char *what;
|
|
+ __const char *what;
|
|
{
|
|
|
|
syslog(LOG_ERR, "%s: %m", what);
|