[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/extragear/kde3/libs/kipi-plugins
From:       Hasso Tepper <hasso () kde ! org>
Date:       2007-10-21 10:45:08
Message-ID: 1192963508.949264.10806.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 727631 by hasso:

Correct includes. For getpid(2) is required, and sys/types.h has to be
included before utime.h.

Fixes compile problems in DragonFly BSD.


 M  +4 -0      gpssync/kmlexport.cpp  
 M  +2 -2      jpeglossless/utils.cpp  
 M  +1 -0      timeadjust/timeadjustdialog.cpp  


--- branches/extragear/kde3/libs/kipi-plugins/gpssync/kmlexport.cpp #727630:727631
@@ -17,6 +17,10 @@
  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
  ***************************************************************************/
 
+extern "C" {
+#include <unistd.h>
+};
+
 // Local includes.
 
 #include "kmlexport.h"
--- branches/extragear/kde3/libs/kipi-plugins/jpeglossless/utils.cpp #727630:727631
@@ -30,10 +30,10 @@
 
 extern "C" 
 {
+#include <sys/types.h>
+#include <sys/stat.h>
 #include <utime.h>
 #include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
 }
 
 // Qt includes.
--- branches/extragear/kde3/libs/kipi-plugins/timeadjust/timeadjustdialog.cpp #727630:727631
@@ -25,6 +25,7 @@
 
 extern "C"
 {
+#include <sys/types.h>
 #include <utime.h>
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic