SITL: add missing header for timeval struct on alpine linux

This commit is contained in:
Pierre Kancir 2024-08-13 00:25:51 +02:00 committed by Peter Barker
parent de85705941
commit 102547968f
7 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,7 @@
#if HAL_SIM_GPS_ENABLED
#include <time.h>
#include <sys/time.h>
#include <AP_BoardConfig/AP_BoardConfig.h>
#include <AP_HAL/AP_HAL.h>

View File

@ -27,6 +27,7 @@ param set SERIAL5_PROTOCOL 5
#if HAL_SIM_GPS_ENABLED
#include <sys/time.h>
#include "SIM_SerialDevice.h"
namespace SITL {

View File

@ -7,6 +7,7 @@
#include <SITL/SITL.h>
#include <time.h>
#include <sys/time.h>
using namespace SITL;

View File

@ -9,6 +9,7 @@
#include <AP_HAL/AP_HAL.h>
#include <time.h>
#include <sys/time.h>
extern const AP_HAL::HAL& hal;

View File

@ -25,6 +25,7 @@
*/
#include "SIM_MicroStrain.h"
#include <stdio.h>
#include <sys/time.h>
#include <unistd.h>
#include <fcntl.h>
#include <AP_HAL/utility/sparse-endian.h>

View File

@ -6,6 +6,7 @@
#include <SITL/SITL.h>
#include "SIM_SerialDevice.h"
#include <sys/time.h>
namespace SITL
{

View File

@ -18,6 +18,7 @@
#include "SIM_VectorNav.h"
#include <stdio.h>
#include <sys/time.h>
#include <unistd.h>
#include <fcntl.h>
#include <AP_Common/NMEA.h>