From cf9dfa493c1c2eb07a0dd9fbaa677e605e4012e0 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 4 May 2015 13:55:41 -0400 Subject: [PATCH] Add missing includes in samples/sample_util/ BUG=angleproject:892 Change-Id: Ia718306226ce6cfcf91f74947a7775b1439e4fab Reviewed-on: https://chromium-review.googlesource.com/268995 Reviewed-by: Jamie Madill Reviewed-by: Geoff Lang Tested-by: Corentin Wallez --- samples/sample_util/Matrix.cpp | 1 + samples/sample_util/geometry_utils.h | 3 ++- samples/sample_util/tga_utils.cpp | 7 ++++--- samples/sample_util/tga_utils.h | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/samples/sample_util/Matrix.cpp b/samples/sample_util/Matrix.cpp index 2c2c2cbd8..9c2b0f154 100644 --- a/samples/sample_util/Matrix.cpp +++ b/samples/sample_util/Matrix.cpp @@ -8,6 +8,7 @@ #define _USE_MATH_DEFINES #include +#include Matrix4::Matrix4() { diff --git a/samples/sample_util/geometry_utils.h b/samples/sample_util/geometry_utils.h index 84221a12f..913301d80 100644 --- a/samples/sample_util/geometry_utils.h +++ b/samples/sample_util/geometry_utils.h @@ -7,10 +7,11 @@ #ifndef SAMPLE_UTIL_GEOMETRY_UTILS_H #define SAMPLE_UTIL_GEOMETRY_UTILS_H +#include +#include #include #include "Vector.h" -#include struct SphereGeometry { diff --git a/samples/sample_util/tga_utils.cpp b/samples/sample_util/tga_utils.cpp index 3e2d6e12c..79dea63c1 100644 --- a/samples/sample_util/tga_utils.cpp +++ b/samples/sample_util/tga_utils.cpp @@ -6,10 +6,11 @@ #include "tga_utils.h" -#include -#include -#include +#include #include +#include +#include +#include TGAImage::TGAImage() : data(0), width(0), height(0) diff --git a/samples/sample_util/tga_utils.h b/samples/sample_util/tga_utils.h index 22fa5b1c8..3dd27adf0 100644 --- a/samples/sample_util/tga_utils.h +++ b/samples/sample_util/tga_utils.h @@ -7,11 +7,11 @@ #ifndef SAMPLE_UTIL_TGA_UTILS_HPP #define SAMPLE_UTIL_TGA_UTILS_HPP -#include - #include #include +#include + typedef std::array Byte4; struct TGAImage