mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 17:38:32 -04:00
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 <sys/time.h>
|
||||||
#include <fenv.h>
|
#include <fenv.h>
|
||||||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||||
#if defined (__clang__)
|
#if defined (__clang__) || (defined (__APPLE__) && defined (__MACH__))
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#else
|
#else
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user