summaryrefslogtreecommitdiff
path: root/chat/unrealircd/patches/patch-ac
blob: 5ea82da66e60e7b6fa7f9edbbad6a752ac320dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.2 2015/11/07 22:52:54 dholland Exp $

Don't declare own errno.

--- include/h.h.orig	2005-12-16 15:19:27.000000000 +0000
+++ include/h.h
@@ -227,7 +227,7 @@ extern int vsnprintf (char *str, size_t 
 #ifdef _WIN32
 extern MODVAR int dbufalloc, dbufblocks, debuglevel;
 #else
-extern int dbufalloc, dbufblocks, debuglevel, errno, h_errno;
+extern int dbufalloc, dbufblocks, debuglevel, h_errno;
 #endif
 extern MODVAR short LastSlot; /* last used index in local client array */
 extern MODVAR int OpenFiles;  /* number of files currently open */