GNOME Bugzilla – Bug 726458
implicit declaration of function 'fchmod' on FreeBSD
Last modified: 2014-03-16 15:55:05 UTC
Created attachment 272064 [details] [review] Fix build problem on FreeBSD I got this error when building dia on FreeBSD: load_save.c:1105:9: error: implicit declaration of function 'fchmod' is invalid in C99 [-Werror,-Wimplicit-function-declaration] We can change _POSIX_C_SOURCE to 200809L to solve this problem.
Thanks, pushed to master an dia-0-97: https://git.gnome.org/browse/dia/commit/?h=dia-0-97&id=20ba42ae04725a5ea71ace60da5255632957fbce