summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-09-06 19:45:34 -0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-11-10 10:08:17 +0100
commit8c57a5d9c2357dab48e80787a413f89405df1df3 (patch)
tree1152b830c13d7e71ad43be0541dbf275e05fb393 /extra/Configs
parenta9bdc5d28e692c04f51bcea1bb8e87f9c72ad09f (diff)
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 <blueness@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra/Configs')
-rw-r--r--extra/Configs/Config.in6
1 files changed, 3 insertions, 3 deletions
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"