diff --git a/src/3rdparty/sqlite3.c b/src/3rdparty/sqlite3.c index 51e54a1894..77f14da90d 100644 --- a/src/3rdparty/sqlite3.c +++ b/src/3rdparty/sqlite3.c @@ -23260,6 +23260,9 @@ static int posixFchown(int fd, uid_t uid, gid_t gid){ /* Forward reference */ static int openDirectory(const char*, int*); +/* Fix for "error: 'fchmod' undeclared here (not in a function)" on FreeBSD 9 */ +int fchmod(int, mode_t); + /* ** Many system calls are accessed through pointer-to-functions so that ** they may be overridden at runtime to facilitate fault injection during