summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/SDLMain_tmpl.m
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2010-01-17 19:27:03 +0000
committer Couriersud <couriersud@users.noreply.github.com>2010-01-17 19:27:03 +0000
commit269e2cf4fcf1cda818baf6dc3c40d86cd356bf31 (patch)
treeaafd2cbb5328faf308a92f2fd194763fc8b8acce /src/osd/sdl/SDLMain_tmpl.m
parent89d20f98666d8b9b0a6666d8aa62151091ce6f99 (diff)
Removed stdlib.h from osdcomm.h.
- Added #include stdlib.h where now necessary Fixed Solaris build Fixed building unidasm for OSD=sdl on win32
Diffstat (limited to 'src/osd/sdl/SDLMain_tmpl.m')
-rw-r--r--src/osd/sdl/SDLMain_tmpl.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/SDLMain_tmpl.m b/src/osd/sdl/SDLMain_tmpl.m
index e2e302b0b53..21c1ff2f1f8 100644
--- a/src/osd/sdl/SDLMain_tmpl.m
+++ b/src/osd/sdl/SDLMain_tmpl.m
@@ -269,7 +269,7 @@ static void CustomApplicationMain (int argc, char **argv)
if (arg == NULL)
return FALSE;
- newargv = (char **) realloc(gArgv, sizeof (char *) * (gArgc + 2));
+ newargv = (char **) SDL_realloc(gArgv, sizeof (char *) * (gArgc + 2));
if (newargv == NULL)
{
SDL_free(arg);