Make ipodpatcher compile on *BSD and recent Linux distributions - htole16/htole32 are standard BSD functions, and they now also appear in glibc 2.9 or later on Linux.  As the functions are so simple, we just rename to avoid a clash instead of attempting to use the library versions on some platforms.  Same as fix provided in FS#10428 by Alyssa Milburn.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22164 a1c6a512-1295-4272-9138-f99709370657
1 file changed