Don't build these support functions for uClibc, as it always supplies
versions.
This commit is contained in:
parent
db6ee81c99
commit
adab517f76
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user