Merge commit '8120a8df848e6dec31ef5f00bc0b41ed95ce1310' * commit '8120a8df848e6dec31ef5f00bc0b41ed95ce1310': Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
This commit is contained in:
@@ -28,7 +28,8 @@
|
||||
#ifndef _BYTESWAP_H_
|
||||
#define _BYTESWAP_H_
|
||||
|
||||
#include <sys/endian.h>
|
||||
/* endian.h rather than sys/endian.h so we get the machine-specific file. */
|
||||
#include <endian.h>
|
||||
|
||||
#define bswap_16(x) swap16(x)
|
||||
#define bswap_32(x) swap32(x)
|
||||
|
||||
Reference in New Issue
Block a user