AP_HAL: sparse-endian: conditionally include byteswap header

This is not present in qurt.
This commit is contained in:
Lucas De Marchi 2016-03-07 12:44:11 -03:00
parent c5dc54dac7
commit 57f8db5672

View File

@ -21,7 +21,10 @@
#ifndef SPARSE_ENDIAN_H
#define SPARSE_ENDIAN_H
#if !defined(HAVE_BYTESWAP_H) || HAVE_BYTESWAP_H
#include <byteswap.h>
#endif
#include <endian.h>
#include <stdint.h>