summaryrefslogtreecommitdiff
path: root/chat/unrealircd/patches/patch-ac
blob: 08de232af15bfaaed8d19825f3983714c66b6991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.3 2015/11/26 16:36:00 jperkin Exp $

Don't declare own errno.

--- include/h.h.orig	2015-11-09 16:16:59.000000000 +0000
+++ include/h.h
@@ -237,7 +237,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 */