projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6ee81
)
Don't build these support functions for uClibc, as it always supplies
author
Manuel Novoa III
<mjn3@codepoet.org>
Sat, 6 Mar 2004 00:32:54 +0000
(
00:32
-0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Sat, 6 Mar 2004 00:32:54 +0000
(
00:32
-0000)
versions.
libbb/module_syscalls.c
patch
|
blob
|
history
diff --git
a/libbb/module_syscalls.c
b/libbb/module_syscalls.c
index 9dca6f04f602a5723333fca25a8ea67a4f42dfe8..81fb8f25596271c4f5c47b0816201a9422cfc014 100644
(file)
--- 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: