From 662da62eb7cba808e98fe8ea65f6bbf55fa50f1e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 16 Sep 2012 22:26:23 -0400 Subject: add clock_adjtime, remap_file_pages, and syncfs syscall wrappers patch by Justin Cormack, with slight modification --- include/sys/timex.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/sys/timex.h') 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 } -- cgit v1.2.1