Skip to content

Fix -Wimplicit-function-declaration on FreeBSD

Jan Beich requested to merge (removed):freebsd into master

gettimeofday() is an XSI extension, obsoleted in X/Open Issue 7. When _POSIX_C_SOURCE is defined FreeBSD enforces strict POSIX compliance i.e., disables extensions. While the warning can be silenced by defining _XOPEN_SOURCE it has be kept in sync with _POSIX_C_SOURCE value.

Edited by Jan Beich

Merge request reports

Loading