Fix building on newer Linux systems (particularly Fedora 13)
authorColin Finck <colin@reactos.org>
Thu, 26 Aug 2010 18:33:46 +0000 (18:33 +0000)
committerColin Finck <colin@reactos.org>
Thu, 26 Aug 2010 18:33:46 +0000 (18:33 +0000)
Thanks to James, Sylvain and ErVito for testing!

See http://reactos.org/pipermail/ros-dev/2010-August/013338.html for more details

svn path=/trunk/; revision=48627

reactos/tools/cabman/cabinet.cxx

index a45f340..5d834a9 100755 (executable)
 #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"