<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>89544</bug_id>
          
          <creation_ts>2004-09-15 08:04:44 +0000</creation_ts>
          <short_desc>compilation error caused by wrong #include for DragonFlyBSD</short_desc>
          <delta_ts>2005-06-11 13:02:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kio</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>FreeBSD Ports</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Emiel Kollof">coolvibe</reporter>
          <assigned_to name="David Faure">faure</assigned_to>
          <cc>nicolasg</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>10</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>268757</commentid>
    <comment_count>0</comment_count>
    <who name="Emiel Kollof">coolvibe</who>
    <bug_when>2004-09-15 08:04:44 +0000</bug_when>
    <thetext>Version:           3.3.3 (using KDE KDE 3.3.0)
Installed from:    FreeBSD Ports
Compiler:          GCC 2.95.3 
OS:                Other

qanimationwriter.cpp includes &lt;netinet/in.h&gt; to get ntohl(), but has to use &lt;sys/param.h&gt; on DragonFlyBSD (and maybe others). 

Solution:
Add a #include &lt;sys/param.h&gt; to the includes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268912</commentid>
    <comment_count>1</comment_count>
    <who name="Emiel Kollof">coolvibe</who>
    <bug_when>2004-09-15 16:22:36 +0000</bug_when>
    <thetext>kdebase kio_ldap is affected too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268918</commentid>
    <comment_count>2</comment_count>
    <who name="Emiel Kollof">coolvibe</who>
    <bug_when>2004-09-15 16:30:54 +0000</bug_when>
    <thetext>See bug http://bugs.kde.org/show_bug.cgi?id=89577</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268927</commentid>
    <comment_count>3</comment_count>
    <who name="Joerg Sonnenberger">joerg</who>
    <bug_when>2004-09-15 16:57:23 +0000</bug_when>
    <thetext>The Single Unix Specification specifies &lt;arpa/inet.h&gt; as primary header for the ntohl family. Including this file is the most correct solution, e.g. on NetBSD &lt;netinet/in.h&gt; doesn&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269748</commentid>
    <comment_count>4</comment_count>
    <who name="Nicolas Goutte">nicolasg</who>
    <bug_when>2004-09-18 18:00:45 +0000</bug_when>
    <thetext>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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>349476</commentid>
    <comment_count>5</comment_count>
    <who name="Nicolas Goutte">nicolasg</who>
    <bug_when>2005-06-11 13:02:16 +0000</bug_when>
    <thetext>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!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>