mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-08 02:57:16 +08:00
DataFlash: fix OSX build
This commit is contained in:
@@ -26,7 +26,12 @@
|
||||
#include <time.h>
|
||||
#include <dirent.h>
|
||||
#include <AP_HAL/utility/RingBuffer.h>
|
||||
#ifdef __APPLE__
|
||||
#include <sys/param.h>
|
||||
#include <sys/mount.h>
|
||||
#else
|
||||
#include <sys/statfs.h>
|
||||
#endif
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user