diff --git a/zathura/database-plain.c b/zathura/database-plain.c index 873e157..ee898b5 100644 --- a/zathura/database-plain.c +++ b/zathura/database-plain.c @@ -36,7 +36,11 @@ #ifdef __GNU__ #include -#define file_lock_set(fd, cmd) flock(fd, cmd) +static int +file_lock_set(int fd, int cmd) +{ + return flock(fd, cmd); +} #else static int file_lock_set(int fd, short cmd)