summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrei Homescu <ahomescu@google.com> 2022-03-09 05:33:03 +0000
committer Andrei Homescu <ahomescu@google.com> 2022-03-09 20:09:52 +0000
commit105fadff6634c7d9c76c27f3060b5563f4c22b48 (patch)
tree0a4b7bfb2640781eaf0de6144b7aef133c879032
parent303b288487b2807d0cca800488d84863a719652d (diff)
Add missing ThreadDefs.h header
Change 2016760 removed utils/threads.h from BpBinder.h which indirectly included ThreadDefs.h. This change adds ThreadDefs.h explicitly to vr_flinger.cpp which needs it. Bug: 223486215 Test: m Merged-In: If4c6494d1bf3a32516ada3670ee449e2a047c7ed Change-Id: I3be09bfd2820000129debb9f23f854df2a5703c2
-rw-r--r--libs/vr/libvrflinger/vr_flinger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/vr/libvrflinger/vr_flinger.cpp b/libs/vr/libvrflinger/vr_flinger.cpp
index a8a847664f..de7d8f879b 100644
--- a/libs/vr/libvrflinger/vr_flinger.cpp
+++ b/libs/vr/libvrflinger/vr_flinger.cpp
@@ -17,6 +17,7 @@
#include <processgroup/sched_policy.h>
#include <sys/prctl.h>
#include <sys/resource.h>
+#include <utils/ThreadDefs.h>
#include <functional>