1From 3f2fc79385398f213a9bd3c99616d749d699f2bb Mon Sep 17 00:00:00 2001
2From: Fabio Berton <fabio.berton@ossystems.com.br>
3Date: Thu, 14 Mar 2019 19:26:14 -0300
4Subject: [PATCH] Fix build with musl
5Organization: O.S. Systems Software LTDA.
6
7Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
8---
9 src/ethtool-local.h | 6 +++---
10 1 file changed, 3 insertions(+), 3 deletions(-)
11
12--- a/src/ethtool-local.h
13+++ b/src/ethtool-local.h
14@@ -20,11 +20,11 @@
15  * along with ifplugd; if not, write to the Free Software Foundation,
16  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
17  */
18-
19+#include <stdint.h>
20 typedef unsigned long long u64;
21-typedef __uint32_t u32;
22-typedef __uint16_t u16;
23-typedef __uint8_t u8;
24+typedef uint32_t u32;
25+typedef uint16_t u16;
26+typedef uint8_t u8;
27
28 #include "ethtool-kernel.h"
29
30