summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-11-12 12:14:13 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-11-11 22:37:22 +0100
commitced5a2098691f0e5199e98974ead7cb42d7e69c1 (patch)
treeaca83d9a45ef620d6c007fa65b12a177ff217687
parent4cfc17e862daaf7da4971164c45293a03ee40887 (diff)
downloadpython-systemd-ced5a2098691f0e5199e98974ead7cb42d7e69c1.tar.gz
include endian.h for htobe16 definition
-rw-r--r--systemd/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/util.c b/systemd/util.c
index e02c825..a8ca299 100644
--- 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>