The tarball found on this site had some build problems,
this patch addresses them.
1) getxopt call was missing several flags
Updated the call in syslogd.c to add -u, -p, and
-a, as were called "legacy" options in the source, and
as was seen in usage().
2) om_mysql.c was missing "om_mysql_flush".
Copied it from om_classic_flush
3) configure problems on FreeBSD
Swapped sys/types.h and sys/socket.h in configure
and configure.in, as sys/types.h needs to be loaded first.
4) im_bsd.c updated to handle kernel logging
_PATH_UNIX is unused on FreeBSD, added some ifdef
goodness to change it to "kernel".
patch for v1.08g