Need htonll and ntohll.

This commit is contained in:
Nicholas Marriott
2024-01-17 10:57:32 +00:00
parent 7d91b4b90b
commit 55d0abad89
5 changed files with 80 additions and 1 deletions

View File

@ -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 *);