fix model_t issues for solaris (now that I know which headers cause the

problem...:)
This commit is contained in:
Bill Currie 2002-08-09 02:44:23 +00:00
parent 1354975692
commit b5783866ad
7 changed files with 17 additions and 31 deletions

View file

@ -42,7 +42,9 @@ static const char rcsid[] =
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# define model_t sun_model_t
# include <netinet/in.h>
# undef model_t
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>