summaryrefslogtreecommitdiff
path: root/x11/xforms/patches/patch-ag
blob: 6fa2d1f5d811ef7dec3e8ecbcd0bb2256eb92000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ag,v 1.2 2005/12/05 20:51:20 rillig Exp $

--- lib/errmsg.c.orig	2005-07-22 18:01:01.000000000 +0000
+++ lib/errmsg.c
@@ -51,7 +51,10 @@
 
 #include "forms.h"
 #include "ulib.h"
+
+#ifndef errno
 extern int errno;		/* system error no            */
+#endif
 
 #ifdef DONT_HAVE_STRERROR
 extern char *sys_errlist[];