From 785c91e269421a024650b7600c493097bdb59ef5 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Thu, 7 Mar 2019 10:49:01 -0800 Subject: [PATCH] AP_Common: Semaphore is missing an include Everyone who is already including common/Semaphore has extra includes to make this compile. This reduces that dependancy --- libraries/AP_Common/Semaphore.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Common/Semaphore.h b/libraries/AP_Common/Semaphore.h index e3a2e2a892..5e4f2dacab 100644 --- a/libraries/AP_Common/Semaphore.h +++ b/libraries/AP_Common/Semaphore.h @@ -27,6 +27,8 @@ The WITH_SEMAPHORE() macro can be used with either type of semaphore */ +#include + namespace AP_HAL { class Semaphore; }