summaryrefslogtreecommitdiffstats
path: root/external/meta-python2/recipes-devtools/python/python-systemd/endian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-python2/recipes-devtools/python/python-systemd/endian.patch')
-rw-r--r--external/meta-python2/recipes-devtools/python/python-systemd/endian.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/external/meta-python2/recipes-devtools/python/python-systemd/endian.patch b/external/meta-python2/recipes-devtools/python/python-systemd/endian.patch
new file mode 100644
index 00000000..e09aea73
--- /dev/null
+++ b/external/meta-python2/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 <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>