Fix error when GNULIB_POSIXCHECK is enabled (regression 2019-06-04).
commit8f591eb5eab9650b93aef4e57e0a4cc056ec571d
authorBruno Haible <bruno@clisp.org>
Wed, 18 Nov 2020 01:33:33 +0000 (18 02:33 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 18 Nov 2020 01:33:33 +0000 (18 02:33 +0100)
tree9ef9aa379bb9ed9955aae31e9aa767426c6d32be
parentc1d6485911a260331de7911c7ad81af9c839671d
Fix error when GNULIB_POSIXCHECK is enabled (regression 2019-06-04).

* lib/unistd.in.h (copy_file_range): Don't assume that copy_file_range
is always declared.
* m4/unistd_h.m4 (gl_UNISTD_H): Test whether copy_file_range is
declared.
ChangeLog
lib/unistd.in.h
m4/unistd_h.m4