summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch b/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch
index 4bd40606b0..35665bd3f2 100644
--- a/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch
+++ b/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch
@@ -9,13 +9,14 @@ Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
9 src/ethtool-local.h | 6 +++--- 9 src/ethtool-local.h | 6 +++---
10 1 file changed, 3 insertions(+), 3 deletions(-) 10 1 file changed, 3 insertions(+), 3 deletions(-)
11 11
12diff --git a/src/ethtool-local.h b/src/ethtool-local.h
13index 200476b..0edc7a9 100644
14--- a/src/ethtool-local.h 12--- a/src/ethtool-local.h
15+++ b/src/ethtool-local.h 13+++ b/src/ethtool-local.h
16@@ -22,9 +22,9 @@ 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 */ 17 */
18 18-
19+#include <stdint.h>
19 typedef unsigned long long u64; 20 typedef unsigned long long u64;
20-typedef __uint32_t u32; 21-typedef __uint32_t u32;
21-typedef __uint16_t u16; 22-typedef __uint16_t u16;
@@ -26,6 +27,3 @@ index 200476b..0edc7a9 100644
26 27
27 #include "ethtool-kernel.h" 28 #include "ethtool-kernel.h"
28 29
29--
302.20.1
31