]> Savannah Git Hosting - gnulib.git/commit
link: fix test to declare use of rename()
authorJohn W. Eaton <gnu@jweaton.org>
Tue, 13 Dec 2016 17:43:09 +0000 (12:43 -0500)
committerPádraig Brady <P@draigBrady.com>
Tue, 13 Dec 2016 19:17:49 +0000 (19:17 +0000)
commit83d7e71261f13ccfef771769a9ab6bbb2d870b89
tree8bc1f8f8a11bfe597d12116f0de82bcc525871e9
parent15a9ecdc8fbae6fb9dd199a1b36b37f1e38780cc
link: fix test to declare use of rename()

The test in link.m4 needs to include <stdio.h> to provide a declaration
for the rename function.  The test fails if building with GCC's
-Werror=implicit-function-declaration option.

This was reported as part of a bug with building Octave on Fedora, which
now uses -Werror=implicit-function-declaration by default.

* m4/link.m4 (gl_FUNC_LINK): Include <stdio.h>.

https://savannah.gnu.org/bugs/?49782
ChangeLog
m4/link.m4