1 --- libmtp-1.1.8/src/gphoto2-endian.h.~1~ 2015-03-11 00:46:33.545905878 +0300
2 +++ libmtp-1.1.8/src/gphoto2-endian.h 2015-03-11 00:47:44.806166816 +0300
6 /* Define generic byte swapping functions */
8 +#include <sys/byteorder.h>
9 +#define swap16(x) BSWAP_16(x)
10 +#define swap32(x) BSWAP_32(x)
11 +#define swap64(x) BSWAP_64(x)
14 #define swap16(x) bswap_16(x)
15 #define swap32(x) bswap_32(x)
16 #define swap64(x) bswap_64(x)
19 /* The byte swapping macros have the form: */
20 /* EENN[a]toh or htoEENN[a] where EE is be (big endian) or */