KDE/kdelibs/kded

Peter Kümmel syntheticpp at yahoo.com
Thu Jul 13 18:19:54 CEST 2006


SVN commit 561921 by kuemmel:

there is no sys/dir.h in posix unix.

Is it really necessary on linux, isn't dirent enough?

CCMAIL:kde-buildsystem at kde.org




 M  +3 -1      vfolder_menu.cpp  


--- trunk/KDE/kdelibs/kded/vfolder_menu.cpp #561920:561921
@@ -19,7 +19,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#include <sys/dir.h>
 #include <dirent.h>
 #include <stdlib.h> // getenv
 #include <config.h>
@@ -34,6 +33,9 @@
 #include <qfile.h>
 #include <qdir.h>
 #include <qregexp.h>
+#ifndef Q_OS_WIN
+#include <sys/dir.h>
+#endif
 
 #include "vfolder_menu.h"
 


More information about the Kde-buildsystem mailing list