Author: cfinck
Date: Thu Aug 26 18:33:46 2010
New Revision: 48627
URL:
http://svn.reactos.org/svn/reactos?rev=48627&view=rev
Log:
Fix building on newer Linux systems (particularly Fedora 13)
Thanks to James, Sylvain and ErVito for testing!
See
http://reactos.org/pipermail/ros-dev/2010-August/013338.html for more details
Modified:
trunk/reactos/tools/cabman/cabinet.cxx
Modified: trunk/reactos/tools/cabman/cabinet.cxx
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/cabman/cabinet.cxx?r…
==============================================================================
--- trunk/reactos/tools/cabman/cabinet.cxx [iso-8859-1] (original)
+++ trunk/reactos/tools/cabman/cabinet.cxx [iso-8859-1] Thu Aug 26 18:33:46 2010
@@ -20,10 +20,9 @@
#include <string.h>
#if !defined(WIN32)
# include <dirent.h>
-#endif
-#if defined(__FreeBSD__) || defined(__APPLE__)
# include <sys/stat.h>
-#endif // __FreeBSD__
+# include <sys/types.h>
+#endif
#include "cabinet.h"
#include "raw.h"
#include "mszip.h"