pkgsrc/net/yafc/patches/patch-aa
2006-01-08 21:07:06 +00:00

19 lines
380 B
Text

$NetBSD: patch-aa,v 1.1 2006/01/08 21:07:06 joerg Exp $
--- lib/makepath.c.orig 2006-01-08 21:04:51.000000000 +0000
+++ lib/makepath.c
@@ -54,13 +54,7 @@ char *alloca ();
# include <stdlib.h>
#endif
-#if HAVE_ERRNO_H
-# include <errno.h>
-#endif
-
-#ifndef errno
-extern int errno;
-#endif
+#include <errno.h>
#ifdef STDC_HEADERS /* HAVE_STRING_H */
# include <string.h>