aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/module_syscalls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c
index 9dca6f04f..81fb8f255 100644
--- a/libbb/module_syscalls.c
+++ b/libbb/module_syscalls.c
@@ -26,6 +26,8 @@
#include <sys/syscall.h>
#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: