From 1331e50bf2504835ead237d46cb258afa7ae26ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Mon, 15 Sep 2014 21:16:36 -0300 Subject: [PATCH 1/2] (d3d_ctx.cpp) Add HAVE_EGL check --- gfx/context/d3d_ctx.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/context/d3d_ctx.cpp b/gfx/context/d3d_ctx.cpp index 1d843cd6f6..784ee1ce64 100644 --- a/gfx/context/d3d_ctx.cpp +++ b/gfx/context/d3d_ctx.cpp @@ -461,6 +461,10 @@ const gfx_ctx_driver_t gfx_ctx_d3d = { gfx_ctx_d3d_swap_buffers, gfx_ctx_d3d_input_driver, NULL, +#ifdef HAVE_EGL + NULL, + NULL, +#endif gfx_ctx_d3d_show_mouse, "d3d", }; From 380c1a7724ccb056af1cb68a5caef2efc4a4c6c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Mon, 15 Sep 2014 21:30:04 -0300 Subject: [PATCH 2/2] (string_list.c) Include posix_string.h --- string_list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/string_list.c b/string_list.c index 72128434c8..646b0b3b1a 100644 --- a/string_list.c +++ b/string_list.c @@ -21,6 +21,7 @@ #include "miscellaneous.h" #include "compat/strl.h" #include "string_list.h" +#include "compat/posix_string.h" void string_list_free(struct string_list *list) {