summaryrefslogtreecommitdiff
path: root/src/mbgl/gl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl')
-rw-r--r--src/mbgl/gl/primitives.hpp2
-rw-r--r--src/mbgl/gl/vertex_array_extension.hpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/gl/primitives.hpp b/src/mbgl/gl/primitives.hpp
index fe6b1b2e5b..a101694643 100644
--- a/src/mbgl/gl/primitives.hpp
+++ b/src/mbgl/gl/primitives.hpp
@@ -1,5 +1,7 @@
#pragma once
+#include <cstddef>
+
namespace mbgl {
namespace gl {
diff --git a/src/mbgl/gl/vertex_array_extension.hpp b/src/mbgl/gl/vertex_array_extension.hpp
index 8c6abdc609..967d99af32 100644
--- a/src/mbgl/gl/vertex_array_extension.hpp
+++ b/src/mbgl/gl/vertex_array_extension.hpp
@@ -2,6 +2,7 @@
#include <mbgl/gl/extension.hpp>
#include <mbgl/gl/defines.hpp>
+#include <mbgl/platform/gl_functions.hpp>
namespace mbgl {
namespace gl {