AP_HAL_SITL: move include for pthread.h

We need pthread_t for a member
This commit is contained in:
Peter Barker 2018-07-19 09:34:01 +10:00 committed by Peter Barker
parent 20c67019b0
commit fdd111a24d
2 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,6 @@
#include "UARTDriver.h"
#include <sys/time.h>
#include <fenv.h>
#include <pthread.h>
using namespace HALSITL;

View File

@ -4,6 +4,7 @@
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include "AP_HAL_SITL_Namespace.h"
#include <sys/time.h>
#include <pthread.h>
#define SITL_SCHEDULER_MAX_TIMER_PROCS 4