summaryrefslogtreecommitdiff
path: root/emulators/spim/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/spim/patches/patch-ac')
-rw-r--r--emulators/spim/patches/patch-ac23
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
+
+
+