summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2022-01-11 08:22:55 +0100
committerHenning Schild <henning@hennsch.de>2022-01-11 08:22:55 +0100
commit938065a751c0876eb837a27f8c1443fc7d0d2551 (patch)
tree71f911f4eb8dc91cab7939a665f730b629938f75
parentd4ac082c62eb5bd1cf9c7fc5ffaa0f9ac94268a7 (diff)
library: include endian.h for le32toh
linking against musl libc we need to include that specifically, actually also according to "man 3 endian".
-rw-r--r--library/adutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/adutil.c b/library/adutil.c
index 9b0c47f..4bb06a3 100644
--- a/library/adutil.c
+++ b/library/adutil.c
@@ -29,6 +29,7 @@
#include <assert.h>
#include <ctype.h>
+#include <endian.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>