$NetBSD: patch-ap,v 1.1 2005/06/04 10:44:29 wiz Exp $

--- index/convert.c.orig	2002-05-03 06:43:17.000000000 +0200
+++ index/convert.c
@@ -43,7 +43,9 @@ int		allocate_and_fill(/* out unsigned c
 
 
 /* Imported variables */
+#ifndef errno
 extern int	errno;
+#endif
 extern int	get_index_type();	/* from io.c */
 extern int	file_num;		/* from io.c */
 extern int	mask_int[32];		/* from io.c */
