You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
437 B

  1. --- a/usr/tgtd.h
  2. +++ b/usr/tgtd.h
  3. @@ -9,6 +9,10 @@
  4. #include <systemd/sd-daemon.h>
  5. #endif
  6. +#ifndef __WORDSIZE
  7. +#include <sys/reg.h>
  8. +#endif
  9. +
  10. struct concat_buf;
  11. #define NR_SCSI_OPCODES 256
  12. --- a/usr/util.h
  13. +++ b/usr/util.h
  14. @@ -16,6 +16,10 @@
  15. #include <limits.h>
  16. #include <linux/types.h>
  17. +#ifndef __WORDSIZE
  18. +#include <sys/reg.h>
  19. +#endif
  20. +
  21. #include "be_byteshift.h"
  22. #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))