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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Sep 16 22:08:13 UTC 2014


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?

TIA,


More information about the uClibc mailing list