diff options
author | Henning Schild <henning@hennsch.de> | 2022-01-11 08:22:55 +0100 |
---|---|---|
committer | Henning Schild <henning@hennsch.de> | 2022-01-11 08:22:55 +0100 |
commit | 938065a751c0876eb837a27f8c1443fc7d0d2551 (patch) | |
tree | 71f911f4eb8dc91cab7939a665f730b629938f75 | |
parent | d4ac082c62eb5bd1cf9c7fc5ffaa0f9ac94268a7 (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.c | 1 |
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> |