summaryrefslogtreecommitdiff
path: root/package/ethtool/patches/patch-internal_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-22 21:24:24 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-22 21:24:24 +0100
commit3a729a11f46e5e3253e65722f28321a6872ca5d4 (patch)
tree4491b51021bbd10a43ec029154a776ddf02e9efe /package/ethtool/patches/patch-internal_h
parentb0b9eb7ce94322adbd2f3d0eb2260f86ee41bb28 (diff)
parentbe21d5fb39eeb319b4d0bcdae96440aaa6d47e59 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ethtool/patches/patch-internal_h')
-rw-r--r--package/ethtool/patches/patch-internal_h25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/ethtool/patches/patch-internal_h b/package/ethtool/patches/patch-internal_h
new file mode 100644
index 000000000..ceb246c07
--- /dev/null
+++ b/package/ethtool/patches/patch-internal_h
@@ -0,0 +1,25 @@
+--- ethtool-3.13.orig/internal.h 2014-01-27 02:27:14.000000000 +0100
++++ ethtool-3.13/internal.h 2014-03-22 20:49:34.000000000 +0100
+@@ -17,16 +17,16 @@
+
+ /* ethtool.h expects these to be defined by <linux/types.h> */
+ #ifndef HAVE_BE_TYPES
+-typedef __uint16_t __be16;
+-typedef __uint32_t __be32;
++typedef uint16_t __be16;
++typedef uint32_t __be32;
+ typedef unsigned long long __be64;
+ #endif
+
+ typedef unsigned long long u64;
+-typedef __uint32_t u32;
+-typedef __uint16_t u16;
+-typedef __uint8_t u8;
+-typedef __int32_t s32;
++typedef uint32_t u32;
++typedef uint16_t u16;
++typedef uint8_t u8;
++typedef int32_t s32;
+
+ #include "ethtool-copy.h"
+ #include "net_tstamp-copy.h"