OLD | NEW |
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
| 5 #include_next <utime.h> |
| 6 |
5 #ifndef LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ | 7 #ifndef LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ |
6 #define LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ | 8 #define LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ |
7 | 9 |
8 #include <sys/cdefs.h> | 10 #include <sys/cdefs.h> |
9 #include_next <utime.h> | |
10 | 11 |
11 __BEGIN_DECLS | 12 __BEGIN_DECLS |
12 | 13 |
13 // TODO(binji): https://code.google.com/p/nativeclient/issues/detail?id=3949 | 14 // TODO(binji): https://code.google.com/p/nativeclient/issues/detail?id=3949 |
14 // remove when these declarations are added to the newlib headers. | 15 // remove when these declarations are added to the newlib headers. |
15 int utime(const char* filename, const struct utimbuf* times); | 16 int utime(const char* filename, const struct utimbuf* times); |
16 | 17 |
17 __END_DECLS | 18 __END_DECLS |
18 | 19 |
19 #endif /* LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ */ | 20 #endif /* LIBRARIES_NACL_IO_INCLUDE_UTIME_H_ */ |
OLD | NEW |