From 9388e99e208a6487b26dcbda86005ee9eba8d93d Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Tue, 9 Oct 2012 14:58:51 +0200 Subject: 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. --- src/shared/missing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/shared/missing.h b/src/shared/missing.h index 14abe4ee2e..1a31066032 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -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; -- cgit v1.2.3-54-g00ecf