f7ee73e0ba
* Add comments to each patch file.
28 lines
744 B
Text
28 lines
744 B
Text
$NetBSD: patch-ah,v 1.4 2010/09/27 12:01:49 taca Exp $
|
|
|
|
* Don't declare errno but include <errno.h>.
|
|
|
|
--- sbr/makedir.c.orig 2006-04-11 13:36:24.000000000 +0000
|
|
+++ sbr/makedir.c
|
|
@@ -14,10 +14,11 @@ static char ident[] = "@(#)$Id: makedir.
|
|
#include "../h/mh.h"
|
|
#include <stdio.h>
|
|
|
|
+#include <errno.h>
|
|
+
|
|
#if defined (BSD42) || defined(SVR4) || \
|
|
defined (hpux) || defined(sgi) || defined(__osf__) || defined(ncr) || \
|
|
defined (_AIX) || defined(AUX) || defined(linux) || defined(__CYGWIN32__)
|
|
-#include <errno.h>
|
|
#include <sys/param.h>
|
|
#include <sys/file.h>
|
|
#endif /* BSD42 ... */
|
|
@@ -29,8 +30,6 @@ static char ident[] = "@(#)$Id: makedir.
|
|
#include <unistd.h>
|
|
#endif
|
|
|
|
-extern int errno;
|
|
-
|
|
makedir (dir)
|
|
register char *dir;
|
|
{
|