Sigh...
I was building mysql on Solaris using Forte compiler and got the same error.
IMHO, the tcpd.h header is not very c++ friendly. One dirty workaround is
to temporarily define the arguments for hosts_access, eval_client and
sock_host. Or there could be a flag that could disable strict proto
I'm getting the following:
cc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\""
-DDATADIR="\"/var/db/mysql\""
-DSHAREDIR="\"/usr/local/share/mysql\""
-DHAVE_CONFIG_H -I../bdb/build_unix -I../innobase/inc