diff --git a/core/ustring.cpp b/core/ustring.cpp index 72ad2a15e7c..f3c89a7908a 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -3096,7 +3096,7 @@ String String::http_escape() const { res += ord; } else { char h_Val[3]; - _snprintf(h_Val, 3, "%.2X", ord); + snprintf(h_Val, 3, "%.2X", ord); res += "%"; res += h_Val; } diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index 3218230d0bf..74ebad748a2 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -34,7 +34,7 @@ #include #include "print_string.h" #include "servers/physics/physics_server_sw.h" - +#include "errno.h" #include "X11/Xutil.h"