mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: skip using posix headers for non-posix systems
This commit is contained in:
parent
d1a497f223
commit
175d806b5f
|
@ -6,10 +6,12 @@
|
|||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||
#include <AP_BoardConfig/AP_BoardConfig_CAN.h>
|
||||
|
||||
#if HAL_OS_POSIX_IO
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
|
|
Loading…
Reference in New Issue