fix compilation under new freebsd (patch by LooX)

git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6367 17fca916-40b9-46aa-a4ea-0a15b648b75c