diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-11-05 19:30:51 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-11-06 06:32:14 -0800 |
commit | 835d9df6cd65db384c0105136e479fde376ff827 (patch) | |
tree | ebc7ab8069e36e38d3660a017f94e6896c622b12 /meta-oe/recipes-connectivity/ifplugd | |
parent | 2c84c0b9a0ea7a9a1403fc408a107b8f3f3aae63 (diff) | |
download | meta-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.patch | 12 |
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 | ||
12 | diff --git a/src/ethtool-local.h b/src/ethtool-local.h | ||
13 | index 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 | -- | ||
30 | 2.20.1 | ||
31 | |||