[PATCH] statfs: fix compile error when UCLIBC_LINUX_SPECIFIC is not set

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Nov 13 19:02:17 UTC 2014


On 17 September 2014 00:08, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> On 7 September 2014 01:45,  <basile at opensource.dyc.edu> wrote:
>> From: "Anthony G. Basile" <blueness at gentoo.org>
>>
>> statfs() is a Linux-specific function.  When building without
>> UCLIBC_LINUX_SPECIFIC set, libc_hidden_proto(statfs) in
>> include/sys/statfs.h is unmatched with libc_hidden_def(statfs)
>> in libc/sysdeps/linux/common/statfs.c, leading to a compile
>> error.  This patch fixes this, as well as adds statfs() to the
>> list of Linux-specific functions in extra/Configs/Config.in.
>
> Good point about the help-text.
> Can you send me the failing .config, please?

Applied, thanks!


More information about the uClibc mailing list