mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-27 18:40:39 +00:00
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 <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
Include endian.h for missing definitions of htobe16
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
--- a/systemd/util.c
|
||||
+++ b/systemd/util.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
+#include <endian.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <net/if.h>
|
||||
Reference in New Issue
Block a user