X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fntpd.c;h=9d716adc0e0e181f3c965107c32e06670dfa97f4;hb=7bec4afe6cd99e3f3dd90dc9ba1e5ab7d4385d4a;hp=f51ef5aee72aad3f2c8fd8ba88a4ba2bc4ddda24;hpb=d4dde3790573583cad3a4f8daa8cfe4712710515;p=collectd.git diff --git a/src/ntpd.c b/src/ntpd.c index f51ef5ae..9d716adc 100644 --- a/src/ntpd.c +++ b/src/ntpd.c @@ -19,6 +19,8 @@ * Florian octo Forster **/ +#define _BSD_SOURCE /* For NI_MAXHOST */ + #include "collectd.h" #include "common.h" #include "plugin.h"