| Index: native_client_sdk/src/libraries/nacl_io/ostime.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/ostime.h b/native_client_sdk/src/libraries/nacl_io/ostime.h
|
| index d3b52a51c4b417f478efd599afc68a1a62867b1c..e48ef22d640119ceddc821e4f0b9028495367cec 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/ostime.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/ostime.h
|
| @@ -19,6 +19,14 @@ int clock_settime(clockid_t clock_id, const struct timespec* tp);
|
| #else
|
|
|
| #include <time.h>
|
| +#include <utime.h>
|
| +#include <sys/time.h>
|
| +
|
| +#ifdef __GLIBC__
|
| +#define st_atimensec st_atim.tv_nsec
|
| +#define st_mtimensec st_mtim.tv_nsec
|
| +#define st_ctimensec st_ctim.tv_nsec
|
| +#endif
|
|
|
| #endif
|
|
|
|
|