diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2024-01-17 10:57:32 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2024-01-17 10:57:32 +0000 |
commit | 55d0abad892e472b6e6f130efaed48cf5c5145b5 (patch) | |
tree | 85f524212637797f0533d32f495d9a50996c28b1 /compat.h | |
parent | 7d91b4b90b1eac9fe04a2fab22013bfbb9ff5ee1 (diff) |
Need htonll and ntohll.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 *); |