X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fsys%2Ftimex.h;h=f37c13cefee8f2a02e1b30ea995b4102b24f3ac1;hp=126239226c84dd3dee1cf3eff95692053beff7b0;hb=5d5ab51862cbd010bdf52dc3b04b0967450bcd1a;hpb=fd9e01e92a5d665e5b6c3221cd67970038cf7a6c diff --git a/include/sys/timex.h b/include/sys/timex.h index 12623922..f37c13ce 100644 --- a/include/sys/timex.h +++ b/include/sys/timex.h @@ -5,6 +5,10 @@ extern "C" { #endif +#define __NEED_clockid_t + +#include + #include struct ntptimeval { @@ -83,6 +87,7 @@ struct timex { #define MAXTC 6 int adjtimex(struct timex *); +int clock_adjtime(clockid_t, struct timex *); #ifdef __cplusplus }