mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-01 07:28:30 +00:00
@@ -47,19 +47,19 @@
|
|||||||
#include <IOKit/usb/USBSpec.h>
|
#include <IOKit/usb/USBSpec.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__LINUX__)
|
|
||||||
#include "../../core/linux/SDL_udev.h"
|
|
||||||
#ifdef SDL_USE_LIBUDEV
|
#ifdef SDL_USE_LIBUDEV
|
||||||
|
#include "../../core/linux/SDL_udev.h"
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_INOTIFY
|
#ifdef HAVE_INOTIFY
|
||||||
|
#include <unistd.h> /* just in case we didn't use that SDL_USE_LIBUDEV block... */
|
||||||
#include <errno.h> /* errno, strerror */
|
#include <errno.h> /* errno, strerror */
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <limits.h> /* For the definition of NAME_MAX */
|
#include <limits.h> /* For the definition of NAME_MAX */
|
||||||
#include <sys/inotify.h>
|
#include <sys/inotify.h>
|
||||||
#endif
|
#endif
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(SDL_USE_LIBUDEV)
|
#if defined(SDL_USE_LIBUDEV)
|
||||||
typedef enum
|
typedef enum
|
||||||
|
Reference in New Issue
Block a user