Browse Source

AP_Compass: skip using posix headers for non posix systems

mission-4.1.18
Siddharth Purohit 7 years ago committed by Andrew Tridgell
parent
commit
f0f4239d4a
  1. 2
      libraries/AP_Compass/AP_Compass_UAVCAN.cpp

2
libraries/AP_Compass/AP_Compass_UAVCAN.cpp

@ -19,10 +19,12 @@ @@ -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…
Cancel
Save