pkgsrc/net/yafc/patches/patch-aa

20 lines
380 B
Text
Raw Normal View History

2006-01-08 22:07:06 +01:00
$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>