From adab517f76b92e9c13be070e7bdc57ec4ca3c916 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sat, 6 Mar 2004 00:32:54 +0000 Subject: Don't build these support functions for uClibc, as it always supplies versions. --- libbb/module_syscalls.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbb') diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c index 9dca6f0..81fb8f2 100644 --- a/libbb/module_syscalls.c +++ b/libbb/module_syscalls.c @@ -26,6 +26,8 @@ #include #include "libbb.h" +/* uClibc always supplies (possibly ENOSYS) versions of these functions. */ +#ifndef __UCLIBC__ /* These syscalls are not included in very old glibc versions */ int delete_module(const char *name) @@ -101,6 +103,8 @@ unsigned long create_module(const char *name, size_t size) } +#endif /* __UCLIBC__ */ + /* END CODE */ /* Local Variables: -- cgit v1.1