SDL: testhaptic.c: include stdlib.h for exit() (4a4f2)

From 4a4f289adc087e69287a18db8c4818755a956fe2 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 23 Jan 2024 01:20:40 +0300
Subject: [PATCH] testhaptic.c: include stdlib.h for exit()

(cherry picked from commit aaf426e280f8bbfbae3111fd5d8b6d68fbcf6404)
---
 test/testhaptic.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/testhaptic.c b/test/testhaptic.c
index e92181654a24..56602cafb43d 100644
--- a/test/testhaptic.c
+++ b/test/testhaptic.c
@@ -16,6 +16,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  */
 #include "SDL.h"
 
+#include <stdlib.h>
+
 #ifndef SDL_HAPTIC_DISABLED
 
 static SDL_Haptic *haptic;