From 6000d165485fd54e378c6033e58d925d8d0837e5 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 5 Jan 2016 17:04:17 +0300 Subject: [PATCH] Include for sin()/cos() --- examples/audio_sine.cc | 3 ++- examples/mixer_music_sine.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/audio_sine.cc b/examples/audio_sine.cc index 7b95b4a..4ef531c 100644 --- a/examples/audio_sine.cc +++ b/examples/audio_sine.cc @@ -1,6 +1,6 @@ /* libSDL2pp - C++11 bindings/wrapper for SDL2 - Copyright (C) 2013-2015 Dmitry Marakasov + Copyright (C) 2013-2016 Dmitry Marakasov This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -19,6 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. */ +#include #include #include diff --git a/examples/mixer_music_sine.cc b/examples/mixer_music_sine.cc index f20982c..ab9a118 100644 --- a/examples/mixer_music_sine.cc +++ b/examples/mixer_music_sine.cc @@ -1,6 +1,6 @@ /* libSDL2pp - C++11 bindings/wrapper for SDL2 - Copyright (C) 2013-2015 Dmitry Marakasov + Copyright (C) 2013-2016 Dmitry Marakasov This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -19,6 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. */ +#include #include #include