diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-11-19 20:24:21 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-11-19 20:24:43 -0300 |
commit | 2769da7744d142c29e6847074bc5b597a11902fb (patch) | |
tree | a674e9824babea65496593a4c5599ee33f7ca65c | |
parent | f858adf150ba693677a66ac4b7d9289850f6f5f6 (diff) |
compile fixes
-rw-r--r-- | core/ustring.cpp | 2 | ||||
-rw-r--r-- | platform/x11/os_x11.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp index 72ad2a15e7..f3c89a7908 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 3218230d0b..74ebad748a 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -34,7 +34,7 @@ #include <stdlib.h> #include "print_string.h" #include "servers/physics/physics_server_sw.h" - +#include "errno.h" #include "X11/Xutil.h" |