From e01678d132a7fcb90c45701d110733bcc6ab84e4 Mon Sep 17 00:00:00 2001 From: Bernhard Amann Date: Fri, 12 Jul 2013 21:09:13 +0200 Subject: [PATCH] yep, freebsd still needs this fix --- src/3rdparty/sqlite3.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/3rdparty/sqlite3.c b/src/3rdparty/sqlite3.c index deef460899..8d473d32b7 100644 --- a/src/3rdparty/sqlite3.c +++ b/src/3rdparty/sqlite3.c @@ -23442,6 +23442,9 @@ static int posixFchown(int fd, uid_t uid, gid_t gid){ /* Forward reference */ static int openDirectory(const char*, int*); +/* fix compile on FreeBSD, not sure why needed... */ +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