libexplain-1.4-missing-defines.patch 504 B

1234567891011121314151617
  1. --- libexplain-1.4.D001.orig/libexplain/buffer/file_inode_flags.c
  2. +++ libexplain-1.4.D001/libexplain/buffer/file_inode_flags.c
  3. @@ -28,6 +28,14 @@
  4. #if defined(FS_IOC_GETFLAGS) || defined(FS_IOC32_GETFLAGS)
  5. +#ifndef FS_ECOMPR_FL
  6. +#define FS_ECOMPR_FL 0x00000800 /* Compression error */
  7. +#endif
  8. +
  9. +#ifndef FS_DIRECTIO_FL
  10. +#define FS_DIRECTIO_FL 0x00100000 /* Use direct i/o */
  11. +#endif
  12. +
  13. void
  14. explain_buffer_file_inode_flags(explain_string_buffer_t *sb, int value)
  15. {