This should fix build.

This commit is contained in:
Miodrag Milanovic 2010-02-13 18:23:55 +00:00
parent 9758c13b82
commit 918bc4c77e
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@
// standard sdl header
#include <SDL/SDL.h>
#include <sys/stat.h>
#include <unistd.h>
#include <mach/mach.h>
@ -386,7 +387,7 @@ file_error osd_get_full_path(char **dst, const char *path)
//============================================================
// osd_get_emulator_directory
//============================================================
extern char sdl_cwd[512];
void osd_get_emulator_directory(char *dir, size_t dir_size)
{
strncpy(dir, sdl_cwd, dir_size);

View File

@ -14,6 +14,7 @@
#include <sys/mman.h>
#include <time.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <SDL/SDL.h>
#include <SDL/SDL_syswm.h>
@ -306,7 +307,7 @@ file_error osd_get_full_path(char **dst, const char *path)
//============================================================
// osd_get_emulator_directory
//============================================================
extern char sdl_cwd[512];
void osd_get_emulator_directory(char *dir, size_t dir_size)
{
strncpy(dir, sdl_cwd, dir_size);