summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/portmap/gcc3-errno_h.patch
blob: a440e61588090dd8415bd2637aa08097f7f415fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- portmap_5beta/portmap.c.orig	2002-12-31 22:13:17.000000000 +0200
+++ portmap_5beta/portmap.c	2002-12-31 22:13:50.000000000 +0200
@@ -97,6 +97,7 @@
 
 extern char *strerror();
 #include <stdlib.h>
+#include <errno.h>
 
 #ifndef LOG_PERROR
 #define LOG_PERROR 0
@@ -124,7 +125,6 @@
 static void callit();
 struct pmaplist *pmaplist;
 int debugging = 0;
-extern int errno;
 
 #include "pmap_check.h"