Fix include on linux

This commit is contained in:
Megamouse 2024-04-20 17:54:40 +02:00
parent b4d5b44e00
commit 94431a7a33

View File

@ -22,6 +22,7 @@
#ifdef __linux__
#include <linux/uinput.h>
#include <fcntl.h>
#include <unistd.h>
#define CHECK_IOCTRL_RET(res) if (res == -1) { gui_log.error("gui_pad_thread: ioctl failed (errno=%d=%s)", res, strerror(errno)); }
#elif defined(__APPLE__)
#pragma GCC diagnostic push