summaryrefslogtreecommitdiffhomepage
path: root/floormat
diff options
context:
space:
mode:
Diffstat (limited to 'floormat')
-rw-r--r--floormat/events.hpp2
-rw-r--r--floormat/main.hpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/floormat/events.hpp b/floormat/events.hpp
index 597c89b2..a70832fd 100644
--- a/floormat/events.hpp
+++ b/floormat/events.hpp
@@ -3,7 +3,7 @@
namespace floormat {
-enum mouse_button : std::uint8_t {
+enum mouse_button : unsigned char {
mouse_button_none = 0,
mouse_button_left = 1 << 0,
mouse_button_middle = 1 << 1,
diff --git a/floormat/main.hpp b/floormat/main.hpp
index 9347ad40..acd1bfdc 100644
--- a/floormat/main.hpp
+++ b/floormat/main.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include "compat/defs.hpp"
#include "src/global-coords.hpp"
#include <Magnum/Math/Vector2.h>