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:
Michael Olbrich
2012-10-16 01:30:29 +02:00
committed by Lennart Poettering
parent 7e505069d2
commit 9388e99e20
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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;