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
1 changed files with 1 additions and 1 deletions

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>