Version: 3.3.3 (using KDE KDE 3.3.0) Installed from: FreeBSD Ports Compiler: GCC 2.95.3 OS: Other qanimationwriter.cpp includes <netinet/in.h> to get ntohl(), but has to use <sys/param.h> on DragonFlyBSD (and maybe others). Solution: Add a #include <sys/param.h> to the includes.
kdebase kio_ldap is affected too.
See bug http://bugs.kde.org/show_bug.cgi?id=89577
The Single Unix Specification specifies <arpa/inet.h> as primary header for the ntohl family. Including this file is the most correct solution, e.g. on NetBSD <netinet/in.h> doesn't provide them too. In http://www.opengroup.org/onlinepubs/007908799/xns/netinetin.h.html is a comment that the ntohl is visible, but the comment about arpa/inet.h suggests that the internal inclusion is somewhat meant. The DragonFly header will be changed to include arpa/inet.h, but KDE code base is better off using arpa/inet.h directly.
Please report Qt-only bugs to qt-bugs at trolltech,com (See http://doc.trolltech.com/3.3/bughowto.html or the corresponding file in your Qt documentation.) As this bug is for kio_ldap too, moving this bug to kio. Have a nice day!
As the change asked by bug #89577 was reversed, it does not seem to be needed to keep this bug open. If you still thing that this bug or #89577 is really useful, then please tell. We can still re-open the 2 bugs. Have a nice day!