5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-09 09:28:31 -04:00

HAL_SITL: fix gcc build on macosx

This commit is contained in:
bugobliterator 2020-05-13 22:37:44 +05:30 committed by Peter Barker
parent 183e50b31f
commit 07907ac81d

View File

@ -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>