--- usrp_bytesex.h.orig 2007-05-06 10:28:04.000000000 +0930 +++ usrp_bytesex.h 2007-05-06 11:10:55.000000000 +0930 @@ -32,6 +32,8 @@ #ifdef HAVE_BYTESWAP_H #include +#elif HAVE_SYS_BSWAP_H +#include #else static inline unsigned short int bswap_16 (unsigned short int x) @@ -40,7 +42,7 @@ } static inline unsigned int -bswap32 (unsigned int x) +bswap_32 (unsigned int x) { return ((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) \ | (((x) & 0x0000ff00) << 8) | (((x) & 0x000000ff) << 24));