--- ./ntpdc/ntpdc.c.orig 2009-07-02 11:21:10.000000000 +0200 +++ ./ntpdc/ntpdc.c 2009-07-02 11:22:12.000000000 +0200 @@ -2,6 +2,8 @@ * ntpdc - control and monitor your ntpd daemon */ +#define _GNU_SOURCE + #include #include "ntpdc.h" --- ./ntpq/ntpq.c.orig 2009-07-02 11:23:28.000000000 +0200 +++ ./ntpq/ntpq.c 2009-07-02 11:23:31.000000000 +0200 @@ -2,6 +2,8 @@ * ntpq - query an NTP server using mode 6 commands */ +#define _GNU_SOURCE + #include #include "ntpq.h"