Index: ports/glibc-compat/include/sys/fcntl.h |
diff --git a/ports/glibc-compat/include/sys/fcntl.h b/ports/glibc-compat/include/sys/fcntl.h |
index cd4a27acee88739d480227bff0bef9fddd90ce63..e5f97ad9831454f6292e7ad239f46503f86ecec1 100644 |
--- a/ports/glibc-compat/include/sys/fcntl.h |
+++ b/ports/glibc-compat/include/sys/fcntl.h |
@@ -17,6 +17,8 @@ __BEGIN_DECLS |
#define F_ULOCK 0 |
#define F_LOCK 1 |
#define F_TLOCK 2 |
+#define AT_SYMLINK_NOFOLLOW 2 |
+#define AT_REMOVEDIR 8 |
#if __BSD_VISIBLE |
/* lock operations for flock(2) */ |
@@ -27,6 +29,7 @@ __BEGIN_DECLS |
#endif |
int lockf(int fd, int command, off_t size); |
+int flock(int fd, int operation); |
__END_DECLS |