AP_Compass: skip using posix headers for non posix systems

This commit is contained in:
Siddharth Purohit 2018-02-02 00:45:47 +05:30 committed by Andrew Tridgell
parent a413fef77f
commit f0f4239d4a
1 changed files with 2 additions and 0 deletions

View File

@ -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>