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:
Khem Raj
2019-11-12 12:11:41 -08:00
parent 90f924460e
commit cd0aff0e60
2 changed files with 16 additions and 0 deletions

View File

@@ -15,4 +15,6 @@ SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895
# allow for common patches for python- and python3-systemd
FILESEXTRAPATHS_prepend := "${THISDIR}/python-systemd:"
SRC_URI += "file://endian.patch"
SRC_URI_append_libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch"