3b6df974e1
of FreeBSD-like systems with objformat, we want minor shared library numbers.
26 lines
699 B
Text
26 lines
699 B
Text
$NetBSD: patch-ah,v 1.3 2006/04/11 15:08:38 joerg Exp $
|
|
|
|
--- 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;
|
|
{
|