mirror of the now-defunct rocklinux.org
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.

22 lines
780 B

  1. --- valgrind-2.2.0/coregrind/vg_unsafe.h 2004-08-29 21:02:28.000000000 +0000
  2. +++ valgrind-2.2.0-p/coregrind/vg_unsafe.h 2004-10-24 08:47:50.959307152 +0000
  3. @@ -60,6 +67,19 @@
  4. #include <scsi/sg.h> /* for the SG_* ioctls */
  5. #include <sched.h> /* for struct sched_param */
  6. #include <linux/sysctl.h> /* for struct __sysctl_args */
  7. +
  8. +#ifdef __CHECKER__
  9. +#define __bitwise __attribute__((bitwise))
  10. +#else
  11. +#define __bitwise
  12. +#endif
  13. +#define __le16 __bitwise __u16
  14. +#define __be16 __bitwise __u16
  15. +#define __le32 __bitwise __u32
  16. +#define __be32 __bitwise __u32
  17. +#define __le64 __bitwise __u64
  18. +#define __be64 __bitwise __u64
  19. +
  20. #include <linux/cdrom.h> /* for cd-rom ioctls */
  21. #include <signal.h> /* for siginfo_t */
  22. #include <linux/timex.h> /* for adjtimex */