build-sys: check for name_to_handle_at declaration instead of its definition
AC_CHECK_FUNCS may be successful, even though name_to_handle_at and 'struct file_handle' are not available.
This commit is contained in:
committed by
Lennart Poettering
parent
7e505069d2
commit
9388e99e20
@@ -218,7 +218,7 @@ static inline pid_t gettid(void) {
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_NAME_TO_HANDLE_AT
|
||||
#if !HAVE_DECL_NAME_TO_HANDLE_AT
|
||||
struct file_handle {
|
||||
unsigned int handle_bytes;
|
||||
int handle_type;
|
||||
|
||||
Reference in New Issue
Block a user