mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
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:
parent
bdc43fc8dd
commit
5ff7621328
1 changed files with 3 additions and 0 deletions
3
src/3rdparty/sqlite3.c
vendored
3
src/3rdparty/sqlite3.c
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue