AP_HAL_SITL: fix pthread SITL build on MacOS

This commit is contained in:
Guglielmo 2019-05-06 17:42:06 +02:00 committed by Randy Mackay
parent 632be63f05
commit 234b3391a9

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