testhaptic.c: include stdlib.h for exit()

(cherry picked from commit aaf426e280f8bbfbae3111fd5d8b6d68fbcf6404)
This commit is contained in:
Ozkan Sezer 2024-01-23 01:20:40 +03:00
parent 467f1d52e4
commit 4a4f289adc

View file

@ -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;