mirror of
https://github.com/sheumann/hush.git
synced 2025-01-14 12:30:40 +00:00
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 <sys/syscall.h>
|
||||||
#include "libbb.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 */
|
/* These syscalls are not included in very old glibc versions */
|
||||||
int delete_module(const char *name)
|
int delete_module(const char *name)
|
||||||
@ -101,6 +103,8 @@ unsigned long create_module(const char *name, size_t size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __UCLIBC__ */
|
||||||
|
|
||||||
/* END CODE */
|
/* END CODE */
|
||||||
/*
|
/*
|
||||||
Local Variables:
|
Local Variables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user