summaryrefslogtreecommitdiff
path: root/net/yafc/patches/patch-aa
blob: f636160b02c0356cfef2221c13ec1693112f7a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$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>