From b67965979a758cc11d9cd6bf763d6d76ff1a7f30 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 19 Nov 2021 11:55:50 +0300 Subject: [PATCH] SDL_hidapi.c: fix SDL_udev.h include path fixes https://github.com/libsdl-org/SDL/issues/4981 --- src/hidapi/SDL_hidapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c index 2ed4678b1..3239353c0 100644 --- a/src/hidapi/SDL_hidapi.c +++ b/src/hidapi/SDL_hidapi.c @@ -298,7 +298,7 @@ HIDAPI_InitializeDiscovery() SDL_HIDAPI_discovery.m_bCanGetNotifications = (SDL_HIDAPI_discovery.m_notificationMach != MACH_PORT_NULL); -#endif // __MACOSX__ +#endif /* __MACOSX__ */ #if defined(SDL_USE_LIBUDEV) if (linux_enumeration_method == ENUMERATION_LIBUDEV) { @@ -550,7 +550,7 @@ HIDAPI_ShutdownDiscovery() #undef HIDAPI_H__ #if __LINUX__ -#include "../../core/linux/SDL_udev.h" +#include "../core/linux/SDL_udev.h" #if SDL_USE_LIBUDEV static const SDL_UDEV_Symbols *udev_ctx = NULL;