write_sensu: define _GNU_SOURCE for asprintf
authorRuben Kerkhof <ruben@tilaa.com>
Tue, 1 Mar 2016 15:54:06 +0000 (16:54 +0100)
committerRuben Kerkhof <ruben@tilaa.com>
Tue, 1 Mar 2016 15:54:06 +0000 (16:54 +0100)
commit36d1b24cf62bdb23b000bb827b6597e8a159ab32
treede35ddec4a7cd5d122cc09a284c40c2a65fd418a
parentf6b065e5dc862010ee54f14c68ce75d695fdfcbd
write_sensu: define _GNU_SOURCE for asprintf

On Linux, asprintf and vasprintf are only available when _GNU_SOURCE is defined.
src/write_sensu.c