From 8cee50eea5f17b8341e11d7cef5122fbbfb3787f Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 7 Dec 2021 19:32:56 +0300
Subject: [PATCH] removed stdlib.h from SDL_psp_main.c now that exit() is gone.
---
src/main/psp/SDL_psp_main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/main/psp/SDL_psp_main.c b/src/main/psp/SDL_psp_main.c
index fb3dd447487..8eb173fb407 100644
--- a/src/main/psp/SDL_psp_main.c
+++ b/src/main/psp/SDL_psp_main.c
@@ -8,7 +8,6 @@
#include "SDL_main.h"
#include <pspkernel.h>
#include <pspthreadman.h>
-#include <stdlib.h>
#ifdef main
#undef main
@@ -45,7 +44,7 @@ int sdl_psp_callback_thread(SceSize args, void *argp)
int sdl_psp_setup_callbacks(void)
{
- int thid = 0;
+ int thid;
thid = sceKernelCreateThread("update_thread",
sdl_psp_callback_thread, 0x11, 0xFA0, 0, 0);
if(thid >= 0)