AP_Common: tidy includes

This commit is contained in:
Peter Barker 2022-03-01 12:19:08 +11:00 committed by Andrew Tridgell
parent 24f7369760
commit f1069023ee
4 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,8 @@
#include "ExpandingString.h"
#include <AP_HAL/AP_HAL.h>
extern const AP_HAL::HAL& hal;
#define EXPAND_INCREMENT 512

View File

@ -18,7 +18,9 @@
#pragma once
#include <AP_HAL/AP_HAL.h>
#include <AP_Common/AP_Common.h>
#include <stdint.h>
class ExpandingString {
public:

View File

@ -1,5 +1,6 @@
#include <AP_gtest.h>
#include <AP_Common/ExpandingString.h>
#include <AP_HAL/AP_HAL.h>
const AP_HAL::HAL& hal = AP_HAL::get_HAL();

View File

@ -1,6 +1,7 @@
#include <AP_gtest.h>
#include <stdlib.h>
#include <AP_Common/ExpandingString.h>
#include <AP_HAL/AP_HAL.h>
/**
* This file test realloc failure on ExpandingString