mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
AP_HAL: sparse-endian: conditionally include byteswap header
This is not present in qurt.
This commit is contained in:
parent
c5dc54dac7
commit
57f8db5672
@ -21,7 +21,10 @@
|
|||||||
#ifndef SPARSE_ENDIAN_H
|
#ifndef SPARSE_ENDIAN_H
|
||||||
#define SPARSE_ENDIAN_H
|
#define SPARSE_ENDIAN_H
|
||||||
|
|
||||||
|
#if !defined(HAVE_BYTESWAP_H) || HAVE_BYTESWAP_H
|
||||||
#include <byteswap.h>
|
#include <byteswap.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user