summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/compat.h2
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>