Fix includes for Linux (#13)
diff --git a/hwcpipe.cpp b/hwcpipe.cpp
index 4508d00..bdd00a3 100644
--- a/hwcpipe.cpp
+++ b/hwcpipe.cpp
@@ -25,12 +25,9 @@
#include "hwcpipe.h"
#include "hwcpipe_log.h"
-#ifdef __ANDROID__
-# include "vendor/arm/mali/mali_profiler.h"
-#endif
-
#ifdef linux
# include "vendor/arm/pmu/pmu_profiler.h"
+# include "vendor/arm/mali/mali_profiler.h"
#endif
#include <json.hpp>
diff --git a/vendor/arm/mali/mali_profiler.cpp b/vendor/arm/mali/mali_profiler.cpp
index 4564a5d..b6c1b38 100644
--- a/vendor/arm/mali/mali_profiler.cpp
+++ b/vendor/arm/mali/mali_profiler.cpp
@@ -25,6 +25,8 @@
#include "hwcpipe_log.h"
+#include <algorithm>
+
using mali_userspace::MALI_NAME_BLOCK_JM;
using mali_userspace::MALI_NAME_BLOCK_MMU;
using mali_userspace::MALI_NAME_BLOCK_SHADER;
diff --git a/vendor/arm/mali/mali_profiler.h b/vendor/arm/mali/mali_profiler.h
index ccfbb27..b6a6ec8 100644
--- a/vendor/arm/mali/mali_profiler.h
+++ b/vendor/arm/mali/mali_profiler.h
@@ -28,6 +28,7 @@
#include "hwc.hpp"
+#include <functional>
#include <vector>
namespace hwcpipe