X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Ftimex.h;h=f37c13cefee8f2a02e1b30ea995b4102b24f3ac1;hb=c91aa03d2488ef2c48276510dec360ed9582e861;hp=a16897778a3594e86e4f267cf14723134fb34231;hpb=f5ba2bc9ca84d67f03f2542bfff0525f2f478e4c;p=musl diff --git a/include/sys/timex.h b/include/sys/timex.h index a1689777..f37c13ce 100644 --- a/include/sys/timex.h +++ b/include/sys/timex.h @@ -5,9 +5,13 @@ extern "C" { #endif +#define __NEED_clockid_t + +#include + #include -struct npttimeval { +struct ntptimeval { struct timeval time; long maxerror, esterror; }; @@ -83,6 +87,7 @@ struct timex { #define MAXTC 6 int adjtimex(struct timex *); +int clock_adjtime(clockid_t, struct timex *); #ifdef __cplusplus }