diff options
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/module_syscalls.c | 4 |
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 @@ | |||
| 26 | #include <sys/syscall.h> | 26 | #include <sys/syscall.h> |
| 27 | #include "libbb.h" | 27 | #include "libbb.h" |
| 28 | 28 | ||
| 29 | /* uClibc always supplies (possibly ENOSYS) versions of these functions. */ | ||
| 30 | #ifndef __UCLIBC__ | ||
| 29 | 31 | ||
| 30 | /* These syscalls are not included in very old glibc versions */ | 32 | /* These syscalls are not included in very old glibc versions */ |
| 31 | int delete_module(const char *name) | 33 | int delete_module(const char *name) |
| @@ -101,6 +103,8 @@ unsigned long create_module(const char *name, size_t size) | |||
| 101 | } | 103 | } |
| 102 | 104 | ||
| 103 | 105 | ||
| 106 | #endif /* __UCLIBC__ */ | ||
| 107 | |||
| 104 | /* END CODE */ | 108 | /* END CODE */ |
| 105 | /* | 109 | /* |
| 106 | Local Variables: | 110 | Local Variables: |
