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)
committerFlorian Forster <octo@collectd.org>
Fri, 3 Jul 2015 10:31:32 +0000 (12:31 +0200)
commitc26f465ba20ad1d5b9a7b77dac0e6117db9377b6
treede3b2fd648fcc5a5488a39481f2c4c5e3a0c1d07
parentd1e2c6d468c82c58e24b53a6af18b5d6b599f55d
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