Include <sys/socket.h> for hton{l,s}. Rev: src/encode.c:1.209 Rev: src/modules/Image/encodings/avs.c:1.16 Rev: src/modules/Image/encodings/x.c:1.42