diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-01-11 22:55:45 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-01-11 22:55:45 +0100 |
commit | f0b43c611e9d33f57fcc7abd8f49132fc3cd7d95 (patch) | |
tree | d87a4b690e34f216bc0c1a822acc538549c5d3f3 /cbs.h | |
parent | 475d7ccc4c23972998a666204af77502ec3dbe04 (diff) |
Make things work a bit better on C23
Diffstat (limited to 'cbs.h')
-rw-r--r-- | cbs.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -50,6 +50,10 @@ # error "Non-POSIX platform detected" #endif +#ifdef __APPLE__ +# define st_mtim st_mtimespec +#endif + #include <sys/stat.h> #include <sys/wait.h> |