mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	SDL_hidapi.c: fix SDL_udev.h include path
fixes https://github.com/libsdl-org/SDL/issues/4981
This commit is contained in:
		| @@ -298,7 +298,7 @@ HIDAPI_InitializeDiscovery() | |||||||
|  |  | ||||||
|     SDL_HIDAPI_discovery.m_bCanGetNotifications = (SDL_HIDAPI_discovery.m_notificationMach != MACH_PORT_NULL); |     SDL_HIDAPI_discovery.m_bCanGetNotifications = (SDL_HIDAPI_discovery.m_notificationMach != MACH_PORT_NULL); | ||||||
|  |  | ||||||
| #endif // __MACOSX__ | #endif /* __MACOSX__ */ | ||||||
|  |  | ||||||
| #if defined(SDL_USE_LIBUDEV) | #if defined(SDL_USE_LIBUDEV) | ||||||
|     if (linux_enumeration_method == ENUMERATION_LIBUDEV) { |     if (linux_enumeration_method == ENUMERATION_LIBUDEV) { | ||||||
| @@ -550,7 +550,7 @@ HIDAPI_ShutdownDiscovery() | |||||||
| #undef HIDAPI_H__ | #undef HIDAPI_H__ | ||||||
| #if __LINUX__ | #if __LINUX__ | ||||||
|  |  | ||||||
| #include "../../core/linux/SDL_udev.h" | #include "../core/linux/SDL_udev.h" | ||||||
| #if SDL_USE_LIBUDEV | #if SDL_USE_LIBUDEV | ||||||
| static const SDL_UDEV_Symbols *udev_ctx = NULL; | static const SDL_UDEV_Symbols *udev_ctx = NULL; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ozkan Sezer
					Ozkan Sezer