From 8c57a5d9c2357dab48e80787a413f89405df1df3 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sat, 6 Sep 2014 19:45:34 -0400 Subject: statfs: fix compile error when UCLIBC_LINUX_SPECIFIC is not set 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. Signed-off-by: Anthony G. Basile Signed-off-by: Bernhard Reutner-Fischer --- extra/Configs/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 0f68a9b2e..32180f72d 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -1021,9 +1021,9 @@ config UCLIBC_LINUX_SPECIFIC ppoll(), readahead(), reboot(), remap_file_pages(), sched_getaffinity(), sched_setaffinity(), sendfile(), setfsgid(), setfsuid(), setresgid(), setresuid(), - splice(), vmsplice(), tee(), signalfd(), swapoff(), swapon(), - sync_file_range(), _sysctl(), sysinfo(), timerfd_*(), vhangup(), - umount(), umount2() + splice(), vmsplice(), tee(), signalfd(), statfs(), + swapoff(), swapon(), sync_file_range(), _sysctl(), + sysinfo(), timerfd_*(), vhangup(), umount(), umount2() config UCLIBC_HAS_GNU_ERROR bool "Support GNU extensions for error-reporting" -- cgit v1.2.3