diff --git a/panda/src/device/evdevInputDevice.cxx b/panda/src/device/evdevInputDevice.cxx index 4cdf52a880..6fda488b0f 100644 --- a/panda/src/device/evdevInputDevice.cxx +++ b/panda/src/device/evdevInputDevice.cxx @@ -673,7 +673,6 @@ process_events() { int y = _pointer_data.get_y(); bool have_pointer = false; double time = ClockObject::get_global_clock()->get_frame_time(); - ButtonHandle button; int index; // It seems that some devices send a single EV_SYN event when being diff --git a/panda/src/device/inputDeviceManager.cxx b/panda/src/device/inputDeviceManager.cxx index 4bc69963eb..8cd470e271 100644 --- a/panda/src/device/inputDeviceManager.cxx +++ b/panda/src/device/inputDeviceManager.cxx @@ -16,6 +16,7 @@ #include "linuxInputDeviceManager.h" #include "winInputDeviceManager.h" #include "throw_event.h" +#include "config_putil.h" InputDeviceManager *InputDeviceManager::_global_ptr = nullptr;