X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcommon.h;h=c0bea36effacfe7390d8a790014a271fc7ce69e7;hb=967a0fdefd43db0e4ed5f8cba65c3c345ef6cdfb;hp=fc809f2173d91a1e0c000052a00861e00e267af0;hpb=3b8dcc64a73b25b67d4eb242e0e58ca5bc6dbb7c;p=collectd.git diff --git a/src/common.h b/src/common.h index fc809f21..c0bea36e 100644 --- a/src/common.h +++ b/src/common.h @@ -236,8 +236,10 @@ int get_kstat (kstat_t **ksp_ptr, char *module, int instance, char *name); long long get_kstat_value (kstat_t *ksp, char *name); #endif +#ifndef HAVE_HTONLL unsigned long long ntohll (unsigned long long n); unsigned long long htonll (unsigned long long n); +#endif #if FP_LAYOUT_NEED_NOTHING # define ntohd(d) (d)