From 82187f8372c0e3ae46b72b68c70f4a9ae11e31e7 Mon Sep 17 00:00:00 2001 From: Dmitry Babokin Date: Wed, 31 Dec 2014 12:35:11 +0300 Subject: [PATCH] Minor fix for examples to compile with strict C++ compiler. --- examples/noise/noise.cpp | 3 ++- examples/stencil/stencil.cpp | 3 ++- examples/volume_rendering/volume.cpp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/noise/noise.cpp b/examples/noise/noise.cpp index 0664bbd9..866340e0 100644 --- a/examples/noise/noise.cpp +++ b/examples/noise/noise.cpp @@ -1,5 +1,5 @@ /* - Copyright (c) 2010-2011, Intel Corporation + Copyright (c) 2010-2014, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without @@ -38,6 +38,7 @@ #pragma warning (disable: 4305) #endif +#include #include #include #include "../timing.h" diff --git a/examples/stencil/stencil.cpp b/examples/stencil/stencil.cpp index 33abc85c..5a7a9b23 100644 --- a/examples/stencil/stencil.cpp +++ b/examples/stencil/stencil.cpp @@ -1,5 +1,5 @@ /* - Copyright (c) 2010-2011, Intel Corporation + Copyright (c) 2010-2014, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without @@ -38,6 +38,7 @@ #pragma warning (disable: 4305) #endif +#include #include #include #include diff --git a/examples/volume_rendering/volume.cpp b/examples/volume_rendering/volume.cpp index b6eda986..c79809f8 100644 --- a/examples/volume_rendering/volume.cpp +++ b/examples/volume_rendering/volume.cpp @@ -1,5 +1,5 @@ /* - Copyright (c) 2011, Intel Corporation + Copyright (c) 2011-2014, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without @@ -38,6 +38,7 @@ #pragma warning (disable: 4305) #endif +#include #include #include #include "../timing.h"