summaryrefslogtreecommitdiff
path: root/x11/xlockmore/patches/patch-ad
blob: bae06cb4368144fc2e67e15dcbda698eccfa186b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.6 2005/05/30 23:34:49 hubertf Exp $

--- xlock/passwd.c.orig	2005-05-30 23:28:55.000000000 +0200
+++ xlock/passwd.c
@@ -88,7 +88,9 @@ static login_cap_t *rlc = NULL;
 #endif
 
 #include <errno.h>
+#ifndef errno
 extern int  errno;
+#endif
 
 #if ( HAVE_FCNTL_H && (defined( USE_MULTIPLE_ROOT ) || defined( USE_MULTIPLE_USER )))
 #include <fcntl.h>