Menu

#41 compile error in extcp.c about hostent

open
nobody
None
5
2012-11-18
2009-06-13
mejames7760
No

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>

Discussion


Log in to post a comment.