]> git.proxmox.com Git - wasi-libc.git/blame - libc-top-half/musl/include/utime.h
Don't define `_POSIX_THREADS` unless threads are enabled. (#356)
[wasi-libc.git] / libc-top-half / musl / include / utime.h
CommitLineData
320054e8
DG
1#ifndef _UTIME_H
2#define _UTIME_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
575e1579
DG
8#include <features.h>
9
320054e8
DG
10#define __NEED_time_t
11
12#include <bits/alltypes.h>
13
14struct utimbuf {
15 time_t actime;
16 time_t modtime;
17};
18
19int utime (const char *, const struct utimbuf *);
20
575e1579
DG
21#if _REDIR_TIME64
22__REDIR(utime, __utime64);
23#endif
24
320054e8
DG
25#ifdef __cplusplus
26}
27#endif
28
29#endif