ptp: In the testptp utility, use clock_adjtime from glibc when available
authorChristian Riesch <christian.riesch@omicron.at>
Mon, 16 Jun 2014 12:46:45 +0000 (14:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2014 04:32:31 +0000 (21:32 -0700)
commit42e1358e103de0fe07d3e8ff40c16bb1fa844e26
tree7f042f2a555185625f51f013fe0e1d3adbad60bf
parentddc6fbd83a22d35726e262a6c698376f3ca1654e
ptp: In the testptp utility, use clock_adjtime from glibc when available

clock_adjtime was included in glibc 2.14. _GNU_SOURCE must be defined
to make it available.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Richard Cochran <richardcochran@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/ptp/testptp.c