Fixed some warnings when building on Linux with -DSDL_LIBC=OFF

This commit is contained in:
Sam Lantinga 2022-11-26 05:18:26 -08:00
parent e9014ee769
commit bde808cd87
4 changed files with 20 additions and 12 deletions

View file

@ -63,7 +63,8 @@
#ifdef HAVE_INOTIFY
#include <unistd.h> /* just in case we didn't use that SDL_USE_LIBUDEV block... */
#include <errno.h> /* errno, strerror */
#include <string.h> /* strerror */
#include <errno.h> /* errno */
#include <fcntl.h>
#include <limits.h> /* For the definition of NAME_MAX */
#include <sys/inotify.h>