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 <sys/time.h> |
| 6 |
5 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H | 7 #ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H |
6 #define LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H | 8 #define LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H |
7 | 9 |
8 #include <sys/cdefs.h> | 10 #include <sys/cdefs.h> |
9 #include <stdint.h> | 11 #include <stdint.h> |
10 #include_next <sys/time.h> | |
11 | 12 |
12 __BEGIN_DECLS | 13 __BEGIN_DECLS |
13 | 14 |
14 // TODO(binji): https://code.google.com/p/nativeclient/issues/detail?id=3949 | 15 // TODO(binji): https://code.google.com/p/nativeclient/issues/detail?id=3949 |
15 // remove when these declarations are added to the newlib headers. | 16 // remove when these declarations are added to the newlib headers. |
16 int utimes(const char *filename, const struct timeval times[2]); | 17 int utimes(const char *filename, const struct timeval times[2]); |
17 int futimes(int fd, const struct timeval times[2]); | 18 int futimes(int fd, const struct timeval times[2]); |
18 | 19 |
19 __END_DECLS | 20 __END_DECLS |
20 | 21 |
21 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H */ | 22 #endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_TIME_H */ |
OLD | NEW |