Include correct endian.h file
Apparently including sys/endian.h directly produces uninitialized endianness macros. Should include target CPU-dependent header instead. Change-Id: Ib16f0470d27baa085bf1675a403c02efa6f994c4
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#ifndef HW_EMULATOR_CAMERA_CONVERTERS_H
|
||||
#define HW_EMULATOR_CAMERA_CONVERTERS_H
|
||||
|
||||
#include <sys/endian.h>
|
||||
#include <endian.h>
|
||||
|
||||
#ifndef __BYTE_ORDER
|
||||
#error "could not determine byte order"
|
||||
|
||||
Reference in New Issue
Block a user