need to add the following lines to extcp.c at line 51 #ifdef UNIX /* __USE_GNU is so that in netdb.h hostent is defined the old way */ #define __USE_GNU #include <sys/socket.h> #include <netdb.h>
Log in to post a comment.