collectd-tg: Move _POSIX_C_SOURCE and friends to the Makefile.
authorFlorian Forster <octo@collectd.org>
Fri, 3 Jul 2015 10:31:32 +0000 (12:31 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 2 May 2016 16:19:03 +0000 (18:19 +0200)
commitf8426d2ac85165658b015fb13216c61fc7d9a6f0
tree38d0b455e786e0a69befd4128e526a691252f651
parent9d8118420f6cdc304f49d56464428b417d42f981
collectd-tg: Move _POSIX_C_SOURCE and friends to the Makefile.

Apparently defining this in the source files confuses Solaris' libc.
Thanks to @dago for looking into this.

Hopefully fixes: #978
src/Makefile.am
src/collectd-tg.c