Index: native_client_sdk/src/libraries/nacl_io/include/utime.h |
diff --git a/native_client_sdk/src/libraries/nacl_io/include/utime.h b/native_client_sdk/src/libraries/nacl_io/include/utime.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c3f2a549c674be3de8933cfc8d6acd06acafc8c5 |
--- /dev/null |
+++ b/native_client_sdk/src/libraries/nacl_io/include/utime.h |
@@ -0,0 +1,19 @@ |
+/* Copyright 2014 The Chromium Authors. All rights reserved. |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. */ |
+ |
+#ifndef LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ |
+#define LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ |
+ |
+#include <sys/cdefs.h> |
+#include_next <utime.h> |
+ |
+__BEGIN_DECLS |
+ |
+// TODO(binji): https://code.google.com/p/nativeclient/issues/detail?id=3949 |
+// remove when these declarations are added to the newlib headers. |
+int utime(const char* filename, const struct utimbuf* times); |
+ |
+__END_DECLS |
+ |
+#endif /* LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ */ |