On Mar 18, 2009, at 10:38 AM, pluknet wrote: > Hi, Josep. Try an attached patch. FreeBSD runs on both big and little-endian architectures; please include <sys/endian.h> instead, which will pull in machine-specific headers and #define _BYTE_ORDER to _LITTLE_ENDIAN or _BIG_ENDIAN as appropriate. Regards, -- -Chuck