Browse Source

DataFlash: fix OSX build

master
Buzz 10 years ago committed by Randy Mackay
parent
commit
684dfaf26f
  1. 5
      libraries/DataFlash/DataFlash_File.cpp

5
libraries/DataFlash/DataFlash_File.cpp

@ -26,7 +26,12 @@ @@ -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;

Loading…
Cancel
Save