summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/ifplugd
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-11-05 19:30:51 -0800
committerKhem Raj <raj.khem@gmail.com>2019-11-06 06:32:14 -0800
commit835d9df6cd65db384c0105136e479fde376ff827 (patch)
treeebc7ab8069e36e38d3660a017f94e6896c622b12 /meta-oe/recipes-connectivity/ifplugd
parent2c84c0b9a0ea7a9a1403fc408a107b8f3f3aae63 (diff)
downloadmeta-openembedded-835d9df6cd65db384c0105136e479fde376ff827.tar.gz
ifplugd: Include stdint.h for uintXX_t
stdint.h is standard header which should provide these types Fixes ../../ifplugd-0.28/src/ethtool-local.h:27:9: error: unknown type name 'uint8_t' typedef uint8_t u8; ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/ifplugd')
-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 4bd40606b..35665bd3f 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