diff options
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index fac1079c8..8f2512a28 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -81,6 +81,14 @@ int __attribute__((format(printf, 2, 3))) asprintf(char **str, const char *fmt, int getloadavg(double *list, int nelem); #endif +#ifndef HAVE_HTONLL +uint64_t htonll(uint64_t host64); +#endif + +#ifndef HAVE_NTOHLL +uint64_t ntohll(uint64_t net64); +#endif + #ifndef HAVE_SETENV int setenv(const char *name, const char *value, int overwrite); #endif |