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.
This commit is contained in:
Robin Sommer 2013-05-15 19:13:51 -07:00
parent bdc43fc8dd
commit 5ff7621328

View file

@ -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