From fb7a02912af626cefb8047967df8ef390bc70754 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 20 Aug 2013 20:39:22 -0400 Subject: [PATCH] More Haiku fixes. --- src/filesystem/beos/SDL_sysfilesystem.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/filesystem/beos/SDL_sysfilesystem.cc b/src/filesystem/beos/SDL_sysfilesystem.cc index 7b63fab34..06b1880d5 100644 --- a/src/filesystem/beos/SDL_sysfilesystem.cc +++ b/src/filesystem/beos/SDL_sysfilesystem.cc @@ -27,6 +27,7 @@ #include #include +#include #include #include "SDL_error.h" @@ -62,7 +63,7 @@ SDL_GetBasePath(void) return NULL; } - SDL_strcpy(retval, str); + strcpy(retval, str); retval[len] = '/'; retval[len+1] = '\0'; return retval;