mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: skip using posix headers for non posix systems
This commit is contained in:
parent
a413fef77f
commit
f0f4239d4a
|
@ -19,10 +19,12 @@
|
|||
|
||||
#include "AP_Compass_UAVCAN.h"
|
||||
|
||||
#if HAL_OS_POSIX_IO
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||
#include <AP_BoardConfig/AP_BoardConfig_CAN.h>
|
||||
|
|
Loading…
Reference in New Issue