$NetBSD: patch-ad,v 1.1 2009/07/14 09:14:04 hasso Exp $

--- ./src/lib/libast/comp/errno.c.orig	2009-07-12 13:42:46 +0300
+++ ./src/lib/libast/comp/errno.c	2009-07-12 13:43:36 +0300
@@ -23,18 +23,4 @@
 
 #include <ast.h>
 
-#if _tst_errno
-
 NoN(errno)
-
-#else
-
-/*
- * this avoids multiple definitions with some libc's
- * that define both an ast library supplied routine and
- * errno in the same .o
- */
-
-int     errno;
-
-#endif
