Skip to content

Commit 4d9747b

Browse files
Fix includes for Linux (#13)
1 parent dd8b8a8 commit 4d9747b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

hwcpipe.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@
2525
#include "hwcpipe.h"
2626
#include "hwcpipe_log.h"
2727

28-
#ifdef __ANDROID__
29-
# include "vendor/arm/mali/mali_profiler.h"
30-
#endif
31-
3228
#ifdef linux
3329
# include "vendor/arm/pmu/pmu_profiler.h"
30+
# include "vendor/arm/mali/mali_profiler.h"
3431
#endif
3532

3633
#include <json.hpp>

vendor/arm/mali/mali_profiler.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
#include "hwcpipe_log.h"
2727

28+
#include <algorithm>
29+
2830
using mali_userspace::MALI_NAME_BLOCK_JM;
2931
using mali_userspace::MALI_NAME_BLOCK_MMU;
3032
using mali_userspace::MALI_NAME_BLOCK_SHADER;

vendor/arm/mali/mali_profiler.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
#include "hwc.hpp"
3030

31+
#include <functional>
3132
#include <vector>
3233

3334
namespace hwcpipe

0 commit comments

Comments
 (0)