SDL_syshaptic.c and SDL_sysjoystick.c need string.h for strerror

This commit is contained in:
Anonymous Maarten
2023-03-30 00:37:36 +02:00
parent cf8899ec94
commit eed266d266
2 changed files with 3 additions and 1 deletions

View File

@@ -32,7 +32,8 @@
#include <linux/input.h> /* Force feedback linux stuff. */
#include <fcntl.h> /* O_RDWR */
#include <limits.h> /* INT_MAX */
#include <errno.h> /* errno, strerror */
#include <errno.h> /* errno */
#include <string.h> /* strerror */
#include <sys/stat.h> /* stat */
#define MAX_HAPTICS 32 /* It's doubtful someone has more then 32 evdev */