summaryrefslogtreecommitdiff
path: root/package/ethtool/patches/patch-internal_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-24 13:45:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-24 13:45:28 +0100
commit850ed0a79fd5c91ac6d037b151cd6ce314a3871f (patch)
treeccb68032bb48b993d3e6b79cba0dc842e5b044c1 /package/ethtool/patches/patch-internal_h
parentc0c6f1a00ae612aca71a9c404056ff5656263513 (diff)
parentf71d123ae12dad7f1b3df2be6e8a9353f12901da (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_h33
1 files changed, 33 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..280f92ce7
--- /dev/null
+++ b/package/ethtool/patches/patch-internal_h
@@ -0,0 +1,33 @@
+--- ethtool-3.13.orig/internal.h 2014-01-27 02:27:14.000000000 +0100
++++ ethtool-3.13/internal.h 2014-03-23 13:47:54.000000000 +0100
+@@ -7,6 +7,7 @@
+ #include "ethtool-config.h"
+ #endif
+ #include <stdio.h>
++#include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
+@@ -17,16 +18,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"