Skip to content

Commit

Permalink
fix(linux): make libevdev includes extern
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Feb 26, 2024
1 parent ec4308a commit efe5dc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platform/linux/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
#include <linux/uinput.h>
#include <poll.h>

extern "C"
{
#include <libevdev/libevdev-uinput.h>
#include <libevdev/libevdev.h>
}

#ifdef SUNSHINE_BUILD_X11
#include <X11/Xutil.h>
Expand Down

0 comments on commit efe5dc1

Please sign in to comment.