diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-12 21:02:10 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-12 21:02:10 +0000 |
commit | fffea9c38c32cf3910e943f053bce0a850771d36 (patch) | |
tree | ab0bc0fbc65549d0b88fbd5a463aaf1d61fd83a1 /emulators/spim/patches/patch-ac | |
parent | 20991933860b3ca57802de538ce284ec844e3096 (diff) | |
download | pkgsrc-fffea9c38c32cf3910e943f053bce0a850771d36.tar.gz |
Fix errno.
Diffstat (limited to 'emulators/spim/patches/patch-ac')
-rw-r--r-- | emulators/spim/patches/patch-ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/emulators/spim/patches/patch-ac b/emulators/spim/patches/patch-ac new file mode 100644 index 00000000000..ebd9e9b4355 --- /dev/null +++ b/emulators/spim/patches/patch-ac @@ -0,0 +1,23 @@ +$NetBSD: patch-ac,v 1.1 2006/01/12 21:02:10 joerg Exp $ + +--- run.c.orig 2006-01-12 20:43:59.000000000 +0000 ++++ run.c +@@ -33,6 +33,7 @@ + #endif + + #include <math.h> ++#include <stdlib.h> + #include <stdio.h> + + #ifdef WIN32 +@@ -58,10 +59,6 @@ + + int force_break = 0; /* For the execution env. to force an execution break */ + +-#ifndef _MSC_VER +-extern int errno; +-long atol (const char *); +-#endif + + + |