tcpreplay: Bump version to v4.2.0
[buildroot-gz.git] / package / ifplugd / 0004-musl-fix-types.patch
blob174f9c8a37e7979c553dd17050ceb4e81a02f4c2
1 The musl C library does not define type names such as `__uint32_t`. Instead we
2 use the integer types declared in the ISO C standard header file <stdint.h>.
4 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
6 diff -purN ifplugd-0.28.orig/src/ethtool-local.h ifplugd-0.28/src/ethtool-local.h
7 --- ifplugd-0.28.orig/src/ethtool-local.h 2015-08-01 18:43:47.360916834 +0200
8 +++ ifplugd-0.28/src/ethtool-local.h 2015-08-01 18:44:24.256037746 +0200
9 @@ -21,10 +21,12 @@
10 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
13 +#include <stdint.h>
15 typedef unsigned long long u64;
16 -typedef __uint32_t u32;
17 -typedef __uint16_t u16;
18 -typedef __uint8_t u8;
19 +typedef uint32_t u32;
20 +typedef uint16_t u16;
21 +typedef uint8_t u8;
23 #include "ethtool-kernel.h"