summaryrefslogtreecommitdiff
path: root/src/bindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings.cc')
-rw-r--r--src/bindings.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings.cc b/src/bindings.cc
index 054bec25..2ce8c8e4 100644
--- a/src/bindings.cc
+++ b/src/bindings.cc
@@ -19,6 +19,8 @@ extern "C" {
#define _(str) gettext(str)
}
+#include <algorithm>
+
namespace ob {
static bool buttonvalue(const std::string &button, unsigned int *val)