collectd-tg: Fall back to gettimeofday(3) if clock_gettime(3) is not available.
authorFlorian Forster <octo@collectd.org>
Tue, 1 Sep 2015 20:16:11 +0000 (22:16 +0200)
committerFlorian Forster <octo@collectd.org>
Tue, 1 Sep 2015 20:16:11 +0000 (22:16 +0200)
commite6361ebda4ec964091d6147c1d36ca749ed05ebd
tree0a5222f7904db978dbd1cbd0a67f9756bca7f8fd
parent8eb05d21637cd1eb3b6c4c4d3ed519cc2fd3ebf6
collectd-tg: Fall back to gettimeofday(3) if clock_gettime(3) is not available.

Sometimes Mac OS/X is stupid. clock_gettime() was introduced in 1997, just
sayin'.

Fixes: #1247
src/collectd-tg.c