This is an endian.h
header as found on other unix (linux and BSDs) for OS X.
It defines big/little endian conversion macros.
brew install https://raw.github.com/hanklords/endian_h/master/endian_h.rb
or just copy endian.h
in /usr/include/local
or directly in your project.