AP_HAL_SITL: Fix build on OSX

include pthread.h missing from Scheduler.h, similar to PR 11281.
This commit is contained in:
Robin Hilliard 2019-07-09 14:51:41 +10:00 committed by Andrew Tridgell
parent bd5d11ca82
commit 49d9f57c85
1 changed files with 1 additions and 0 deletions

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