pkgsrc/devel/dmake/patches/patch-aa
2006-06-27 15:36:04 +00:00

24 lines
505 B
Text

$NetBSD: patch-aa,v 1.3 2006/06/27 15:36:04 minskim Exp $
--- unix/runargv.c.orig 1997-07-15 16:02:34.000000000 +0000
+++ unix/runargv.c
@@ -24,6 +24,8 @@
*/
#include <signal.h>
+#include <errno.h>
+#include <sys/param.h>
#include "extern.h"
#include "sysintf.h"
@@ -67,8 +69,9 @@ int last;
int shell;
char *cmd;
{
- extern int errno;
+#if !defined(__linux__) && (!defined(BSD) || BSD < 199306)
extern char *sys_errlist[];
+#endif
int pid;
char **argv;