From 2c40673e0481cd5c34e7c2019a0ffcd2e9cbd59b Mon Sep 17 00:00:00 2001 From: tosh Date: Sun, 24 Mar 2013 14:04:08 +0100 Subject: [PATCH] fixes #includes --- shared/src/OctalCode.h | 2 +- shared/src/SharedUtil.cpp | 5 +++-- shared/src/SharedUtil.h | 2 +- shared/src/VoxelTree.cpp | 4 +++- shared/src/VoxelTree.h | 1 - 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/shared/src/OctalCode.h b/shared/src/OctalCode.h index b66dcc7199..402e83d24a 100644 --- a/shared/src/OctalCode.h +++ b/shared/src/OctalCode.h @@ -9,7 +9,7 @@ #ifndef __hifi__OctalCode__ #define __hifi__OctalCode__ -#include +#include void printOctalCode(unsigned char * octalCode); int bytesRequiredForCodeLength(unsigned char threeBitCodes); diff --git a/shared/src/SharedUtil.cpp b/shared/src/SharedUtil.cpp index 404ac9d5cb..9f7598d901 100644 --- a/shared/src/SharedUtil.cpp +++ b/shared/src/SharedUtil.cpp @@ -7,8 +7,9 @@ // #include "SharedUtil.h" -#include -#include + +#include +#include double usecTimestamp(timeval *time) { return (time->tv_sec * 1000000.0 + time->tv_usec); diff --git a/shared/src/SharedUtil.h b/shared/src/SharedUtil.h index 352ff1d859..2156347cce 100644 --- a/shared/src/SharedUtil.h +++ b/shared/src/SharedUtil.h @@ -9,7 +9,7 @@ #ifndef __hifi__SharedUtil__ #define __hifi__SharedUtil__ -#include +#include #ifdef _WIN32 #include "Systime.h" diff --git a/shared/src/VoxelTree.cpp b/shared/src/VoxelTree.cpp index e858c92c31..6d0395a8cb 100644 --- a/shared/src/VoxelTree.cpp +++ b/shared/src/VoxelTree.cpp @@ -10,6 +10,8 @@ #include "OctalCode.h" #include "VoxelTree.h" +#include + const int MAX_TREE_SLICE_BYTES = 26; VoxelTree::VoxelTree() { @@ -256,4 +258,4 @@ void VoxelTree::printTreeForDebugging(VoxelNode *startNode) { printTreeForDebugging(startNode->children[k]); } } -} \ No newline at end of file +} diff --git a/shared/src/VoxelTree.h b/shared/src/VoxelTree.h index a7ea8e3275..728e9c7d4a 100644 --- a/shared/src/VoxelTree.h +++ b/shared/src/VoxelTree.h @@ -9,7 +9,6 @@ #ifndef __hifi__VoxelTree__ #define __hifi__VoxelTree__ -#include #include "VoxelNode.h" const int MAX_VOXEL_PACKET_SIZE = 1492;