pkgsrc/graphics/magicpoint/patches/patch-am

22 lines
450 B
Text

$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];