mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-09 01:13:57 -04:00
AP_HAL_SITL: move include for pthread.h
We need pthread_t for a member
This commit is contained in:
parent
20c67019b0
commit
fdd111a24d
@ -5,7 +5,6 @@
|
|||||||
#include "UARTDriver.h"
|
#include "UARTDriver.h"
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <fenv.h>
|
#include <fenv.h>
|
||||||
#include <pthread.h>
|
|
||||||
|
|
||||||
using namespace HALSITL;
|
using namespace HALSITL;
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
#include "AP_HAL_SITL_Namespace.h"
|
#include "AP_HAL_SITL_Namespace.h"
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
|
||||||
#define SITL_SCHEDULER_MAX_TIMER_PROCS 4
|
#define SITL_SCHEDULER_MAX_TIMER_PROCS 4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user