The following patch is made against CVS HEAD, and simplifies the code flow on little endian systems in src/libFLAC/bitreader.c and src/libFLAC/bitwriter.c.
This has the following effects:
* The code is shorter and easier to read
* No dependency on winsock just for a trivial function (ntohl) on Windows
* Should actually be faster on systems with ntohl, since the compiler cannot optimize ntohl if it is a lib function, and even in GCC it is not an intrinsic, so it never made sense to use it in the first place
* It will automatically work on any other little endian system, as long as configure is working correctly.