blob: a0765e49b4bacf5d578b1080a944547cdb480dc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-am,v 1.3 2013/08/17 14:39:24 taca Exp $
* Always use <stdlib.h>.
--- image/path.c.orig 2004-07-28 15:47:31.000000000 +0000
+++ image/path.c
@@ -20,15 +20,11 @@
#if 1 /* SYSV */
#include <unistd.h>
#endif
-#ifdef __APPLE__
#include <stdlib.h>
-#endif
/* SUPPRESS 530 */
/* SUPPRESS 560 */
-extern int errno;
-
/*static*/ unsigned int NumPaths= 0;
static unsigned int NumExts= 0;
/*static*/ char *Paths[BUFSIZ];
|