I have solved this issue. It would seem to be caused by invoking "-mno-cygwin" flags to CFLAGS and LDFLAGS. Using host=HOST or build=BUILD gets around this.
Hugh On 22/04/07, Hugh McMaster wrote: > It would seem that sys/socket.h is not found, when it is in the > correct system folder. This also occurs with arpa/inet.h and another > header which I cannot remember the name of at the moment.