I ran into this on Fedora 13,

[HOST-CC]  tools/cabman/cabinet.cxx
tools/cabman/cabinet.cxx: In member function ‘bool
CCabinet::CreateSimpleCabinet()’:
tools/cabman/cabinet.cxx:2177: error: no matching function for call to
‘stat::stat(char [260], stat*)’
/usr/include/bits/stat.h:40: note: candidates are: stat::stat()
/usr/include/bits/stat.h:40: note:                 stat::stat(const stat&)

from http://code.google.com/p/libproxy/issues/detail?id=122 the patch
is based on this;
       
http://code.google.com/p/libproxy/issues/attachmentText?id=122&aid=2002375034865556637&name=fix_fedora_13_build.patch&token=8817da5d966f54916b41556ec0ec1722


Index: tools/cabman/cabinet.cxx
===================================================================
--- tools/cabman/cabinet.cxx    (revision 48297)
+++ tools/cabman/cabinet.cxx    (working copy)
@@ -21,7 +21,8 @@
 #if !defined(WIN32)
 # include <dirent.h>
 #endif
-#if defined(__FreeBSD__) || defined(__APPLE__)
+#if !defined(WIN32) || defined(__FreeBSD__) || defined(__APPLE__)
+# include <sys/types.h>
 # include <sys/stat.h>
 #endif // __FreeBSD__
 #include "cabinet.h"

Not sure this is right, so~ posted here for fast review and fix,
James

_______________________________________________
Ros-dev mailing list
[email protected]
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to