irc.c added defines for portability to freebsd