ptp: In the testptp utility, use clock_adjtime from glibc when available
authorChristian Riesch <[email protected]>
Mon, 16 Jun 2014 12:46:45 +0000 (14:46 +0200)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Cc: Richard Cochran <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Documentation/ptp/testptp.c