From 5ff762132836fda10a154e14eadc3884d38b2e1e Mon Sep 17 00:00:00 2001 From: Robin Sommer Date: Wed, 15 May 2013 19:13:51 -0700 Subject: [PATCH] Fix for 'fchmod undeclared here' on FreeBSD. This is from http://www.sqlite.org/cgi/src/tktview/de87b8dc7b367965c13d16becfd6996bbcd4be80 Doesn't seem applied yet, and may not be the best solution anyways. --- src/3rdparty/sqlite3.c | 3 +++ 1 file changed, 3 insertions(+) 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