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;