diff --git a/tests/events.c b/tests/events.c index c1203330..fda68164 100644 --- a/tests/events.c +++ b/tests/events.c @@ -37,6 +37,7 @@ #include #include #include +#include #include "getopt.h" @@ -442,6 +443,8 @@ int main(int argc, char** argv) GLFWmonitor* monitor = NULL; int ch, i, width, height, count = 1; + setlocale(LC_ALL, ""); + glfwSetErrorCallback(error_callback); if (!glfwInit())