diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-23 16:21:08 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-23 16:23:12 +0100 |
commit | b4226fbb569bd39fa0198c0e823400836dd6cc2d (patch) | |
tree | 63676a72450e36cfcd80168ec7f7a81f8a7fefc4 /include/compat.h | |
parent | f6afde3c5dcece3b4980cebcde09a9ecca9e20d8 (diff) |
Add windows implementation for chdir in libcompat
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/compat.h')
-rw-r--r-- | include/compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compat.h b/include/compat.h index 1a8f3a4..af2ac5a 100644 --- a/include/compat.h +++ b/include/compat.h @@ -105,6 +105,8 @@ struct stat { int fchownat(int dirfd, const char *path, int uid, int gid, int flags); int fchmodat(int dirfd, const char *path, int mode, int flags); + +int chdir(const char *path); #else #include <sys/types.h> #include <sys/stat.h> |