From cd0aff0e6018d49c08f081f22befc68de167ddbc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 12 Nov 2019 12:11:41 -0800 Subject: python-systemd: Include endian.h for htobe16 Fixes | systemd/util.c:112:39: error: implicit declaration of function 'htobe16' is invalid in C99 [-Werror,-Wimplicit-function-declaration] | addr->in6.sin6_port = htobe16(port); | ^ Signed-off-by: Khem Raj --- .../recipes-devtools/python/python-systemd/endian.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-systemd/endian.patch (limited to 'meta-python/recipes-devtools/python/python-systemd/endian.patch') diff --git a/meta-python/recipes-devtools/python/python-systemd/endian.patch b/meta-python/recipes-devtools/python/python-systemd/endian.patch new file mode 100644 index 0000000000..e09aea7336 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-systemd/endian.patch @@ -0,0 +1,14 @@ +Include endian.h for missing definitions of htobe16 + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- a/systemd/util.c ++++ b/systemd/util.c +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + #include + #include + #include -- cgit v1.2.3-54-g00ecf