diff options
Diffstat (limited to 'emulators/gpsim-devel/patches/patch-ab')
-rw-r--r-- | emulators/gpsim-devel/patches/patch-ab | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/emulators/gpsim-devel/patches/patch-ab b/emulators/gpsim-devel/patches/patch-ab index 8655378d8fc..17943f24ee3 100644 --- a/emulators/gpsim-devel/patches/patch-ab +++ b/emulators/gpsim-devel/patches/patch-ab @@ -1,8 +1,16 @@ -$NetBSD: patch-ab,v 1.3 2006/04/28 15:33:28 joerg Exp $ +$NetBSD: patch-ab,v 1.4 2011/12/19 15:58:40 wiz Exp $ ---- src/os_dependent.cc.orig 2006-04-28 14:38:52.000000000 +0000 +--- src/os_dependent.cc.orig 2005-08-03 18:01:01.000000000 +0000 +++ src/os_dependent.cc -@@ -37,6 +37,10 @@ Boston, MA 02111-1307, USA. */ +@@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ + #include <stdlib.h> + #include <unistd.h> + #include <string> ++#include <string.h> + + #include <iostream> + #include <iomanip> +@@ -37,6 +38,10 @@ Boston, MA 02111-1307, USA. */ #include "exports.h" #include "modules.h" @@ -13,7 +21,7 @@ $NetBSD: patch-ab,v 1.3 2006/04/28 15:33:28 joerg Exp $ #ifndef _WIN32 #include <dlfcn.h> #define STRICMP strcasecmp -@@ -348,7 +352,9 @@ unsigned long get_error() { +@@ -348,7 +353,9 @@ unsigned long get_error() { } char * get_error_message() { @@ -24,7 +32,7 @@ $NetBSD: patch-ab,v 1.3 2006/04/28 15:33:28 joerg Exp $ return dlerror(); #else return g_win32_error_message(GetLastError()); -@@ -357,7 +363,7 @@ char * get_error_message() { +@@ -357,7 +364,7 @@ char * get_error_message() { void free_error_message(char * pszError) { |