Code

configure.in: Check for "htonll".
[collectd.git] / src / common.h
index 6682e1c852ffd3328253f347a54fa23de78f630b..8a9f33575b8090eac4dbe56af077af5b68fd7f05 100644 (file)
@@ -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)