diff --git a/src/polyrenderer/drawers/poly_triangle.cpp b/src/polyrenderer/drawers/poly_triangle.cpp index fdb7f6de9..e4d91a65e 100644 --- a/src/polyrenderer/drawers/poly_triangle.cpp +++ b/src/polyrenderer/drawers/poly_triangle.cpp @@ -37,6 +37,7 @@ #include "polyrenderer/poly_renderer.h" #include "swrenderer/drawers/r_draw_rgba.h" #include "screen_triangle.h" +#include "x86.h" int PolyTriangleDrawer::viewport_x; int PolyTriangleDrawer::viewport_y; diff --git a/src/polyrenderer/drawers/screen_triangle.cpp b/src/polyrenderer/drawers/screen_triangle.cpp index 95bf7826b..0e858db53 100644 --- a/src/polyrenderer/drawers/screen_triangle.cpp +++ b/src/polyrenderer/drawers/screen_triangle.cpp @@ -40,6 +40,7 @@ #include "poly_drawer32_sse2.h" #endif #include "poly_drawer8.h" +#include "x86.h" namespace {