patch-internal_h 674 B

12345678910111213141516171819202122232425
  1. --- ethtool-3.13.orig/internal.h 2014-01-27 02:27:14.000000000 +0100
  2. +++ ethtool-3.13/internal.h 2014-03-22 20:49:34.000000000 +0100
  3. @@ -17,16 +17,16 @@
  4. /* ethtool.h expects these to be defined by <linux/types.h> */
  5. #ifndef HAVE_BE_TYPES
  6. -typedef __uint16_t __be16;
  7. -typedef __uint32_t __be32;
  8. +typedef uint16_t __be16;
  9. +typedef uint32_t __be32;
  10. typedef unsigned long long __be64;
  11. #endif
  12. typedef unsigned long long u64;
  13. -typedef __uint32_t u32;
  14. -typedef __uint16_t u16;
  15. -typedef __uint8_t u8;
  16. -typedef __int32_t s32;
  17. +typedef uint32_t u32;
  18. +typedef uint16_t u16;
  19. +typedef uint8_t u8;
  20. +typedef int32_t s32;
  21. #include "ethtool-copy.h"
  22. #include "net_tstamp-copy.h"