In order to compile under IRIX and a couple of changes need to be made to
server.c in order for it to compile.

#define _HAVE_SIN_LEN 1
#define _HAVE_SA_LEN 1
#define MAXDNAME 100

Add these three #defines before any of the #include's in server.c

In connect_to_server_by_refnum()
Add the following lines

        #ifdef sa_len
                #undef sa_len
        #endif
        int sa_len = sizeof( strqct sockaddr_in );

so that the beginning of the function looks like this...

        char *sname;
        int sport;
        int conn;
        struct sockaddr_in sa;
        #ifdef sa_len
                #undef sa_len
        #endif
        int sa_len = sizeof( struct sockaddr_in );

        if (refnum == -1)


Under UNIX SV we need to change include/irc.h and remove 
 #include <arpa/inet.h> from the file. This causes a couple of new 
warnings in dcc.c to appear, but everything works as advertised.

HPUX seems to have some header files problems.
in particular. #include <sys/types.h> can't be included before #include
<time.h> or #include <sys/time.h>
