From 74ccbdb6f7ac206436e85c9c835e3945f5505110 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 21 Oct 2015 15:51:49 -0200 Subject: [PATCH] AP_HAL: AnalogIn: add missing include Since we are using uint8_t and uint16_t types we need to include the correspondent system header. Otherwise it would depend on the include order of who is including this particular header, causing failures as we move headers around. --- libraries/AP_HAL/AnalogIn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL/AnalogIn.h b/libraries/AP_HAL/AnalogIn.h index 383d4a2a4f..5afe612b8d 100644 --- a/libraries/AP_HAL/AnalogIn.h +++ b/libraries/AP_HAL/AnalogIn.h @@ -2,6 +2,8 @@ #ifndef __AP_HAL_ANALOG_IN_H__ #define __AP_HAL_ANALOG_IN_H__ +#include + #include "AP_HAL_Namespace.h" class AP_HAL::AnalogSource {