From c4daffc001e8aaaa40869433bd86b34fec51bd19 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 27 Jul 2016 13:21:37 +1000 Subject: [PATCH] build: add forgotten includes --- colour.cpp | 9 +++++---- hash/sha1.cpp | 5 +++-- memory/buffer/circular.cpp | 3 ++- quaternion.cpp | 1 + 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/colour.cpp b/colour.cpp index 4d0e5c1d..42b99bfa 100644 --- a/colour.cpp +++ b/colour.cpp @@ -14,11 +14,12 @@ * Copyright 2010-2016 Danny Robson */ -#include "colour.hpp" +#include "./colour.hpp" -#include "range.hpp" -#include "random.hpp" -#include "stream.hpp" +#include "./debug.hpp" +#include "./range.hpp" +#include "./random.hpp" +#include "./stream.hpp" #include #include diff --git a/hash/sha1.cpp b/hash/sha1.cpp index 25243082..2c6995fb 100644 --- a/hash/sha1.cpp +++ b/hash/sha1.cpp @@ -26,6 +26,7 @@ #include #include #include +#include using util::hash::SHA1; @@ -36,8 +37,8 @@ std::ostream& operator<< (std::ostream &os, SHA1::state_t t) { switch (t) { - case SHA1::READY: os << "READY"; return os; - case SHA1::FINISHED: os << "FINISHED"; return os; + case SHA1::READY: return os << "READY"; + case SHA1::FINISHED: return os << "FINISHED"; } unreachable (); diff --git a/memory/buffer/circular.cpp b/memory/buffer/circular.cpp index a89571fd..0195d76e 100644 --- a/memory/buffer/circular.cpp +++ b/memory/buffer/circular.cpp @@ -17,9 +17,10 @@ #include "./circular.hpp" #include "../system.hpp" +#include "../../debug.hpp" #include "../../except.hpp" -#include "../../raii.hpp" #include "../../maths.hpp" +#include "../../raii.hpp" #include "../../random.hpp" #include diff --git a/quaternion.cpp b/quaternion.cpp index 6002c9dc..fc42e7da 100644 --- a/quaternion.cpp +++ b/quaternion.cpp @@ -17,6 +17,7 @@ #include "quaternion.hpp" +#include "debug.hpp" #include "maths.hpp"