mirror of https://github.com/ArduPilot/ardupilot
HAL_SITL: fix gcc build on macosx
This commit is contained in:
parent
183e50b31f
commit
07907ac81d
|
@ -6,7 +6,7 @@
|
|||
#include <sys/time.h>
|
||||
#include <fenv.h>
|
||||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||
#if defined (__clang__)
|
||||
#if defined (__clang__) || (defined (__APPLE__) && defined (__MACH__))
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <malloc.h>
|
||||
|
|
Loading…
Reference in New Issue