From 55d0abad892e472b6e6f130efaed48cf5c5145b5 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 17 Jan 2024 10:57:32 +0000 Subject: Need htonll and ntohll. --- compat.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'compat.h') diff --git a/compat.h b/compat.h index cabdf3ad..0693cf06 100644 --- a/compat.h +++ b/compat.h @@ -334,6 +334,16 @@ char *strndup(const char *, size_t); void *memmem(const void *, size_t, const void *, size_t); #endif +#ifndef HAVE_HTONLL +/* htonll.c */ +uint64_t htonll(uint64_t); +#endif + +#ifndef HAVE_NTOHLL +/* ntohll.c */ +uint64_t ntohll(uint64_t); +#endif + #ifndef HAVE_GETPEEREID /* getpeereid.c */ int getpeereid(int, uid_t *, gid_t *); -- cgit v1.2.3