patch-interface_vmcs_host_linux_vcfilesys_c 717 B

12345678910111213141516171819202122
  1. --- bcm2835-vc-0.3.orig/interface/vmcs_host/linux/vcfilesys.c 2013-09-27 14:22:08.000000000 +0200
  2. +++ bcm2835-vc-0.3/interface/vmcs_host/linux/vcfilesys.c 2013-10-14 20:10:02.000000000 +0200
  3. @@ -49,10 +49,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
  4. #include <ctype.h>
  5. #include <limits.h>
  6. -#if !defined(ANDROID) && !defined( __USE_FILE_OFFSET64 )
  7. -#error "__USE_FILE_OFFSET64 isn't defined"
  8. -#endif
  9. -
  10. #include "interface/vcos/vcos.h"
  11. /* Some hackery to prevent a clash with the Linux type of the same name */
  12. @@ -916,7 +912,7 @@ int vc_hostfs_set_attr(const char *path,
  13. if (pathbuf)
  14. {
  15. - __mode_t mode = 0;
  16. + mode_t mode = 0;
  17. struct stat sb;
  18. backslash_to_slash(pathbuf);