summaryrefslogtreecommitdiffstats
path: root/patches/portmap_5beta/generic/portmap-5beta-glibc_errno_fix-1.patch
blob: 9826c1b8c2d0a5d4b4d0426bb71eac42bcbce7ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org>
Date: 2003-10-04
Initial Package Version: 5beta
Origin: None
Description: Fix compilation with recent glibc versions.

$LastChangedBy: bdubbs $
$Date: 2005-08-01 13:29:19 -0600 (Mon, 01 Aug 2005) $

--- portmap_5beta/portmap.c	2003-03-10 12:32:26.000000000 -0600
+++ portmap_5beta/portmap.c.new	2003-03-10 12:38:01.000000000 -0600
@@ -129,7 +129,8 @@
 static void callit();
 struct pmaplist *pmaplist;
 int debugging = 0;
-extern int errno;
+#include <errno.h>
+/* extern int errno; */
 
 #include "pmap_check.h"