[SDL] Fix missing header build error on some Linux systems.

This commit is contained in:
Pāvels Nadtočajevs 2025-06-25 08:11:09 +03:00
parent e1b4101e34
commit f69eccddfb
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
2 changed files with 15 additions and 0 deletions

View file

@ -26,6 +26,8 @@
// This is the system specific header for the SDL joystick API
#include "SDL_joystick_c.h"
#include <stdlib.h>
// Set up for C function definitions, even when using C++
#ifdef __cplusplus
extern "C" {