chiark / gitweb /
build-sys: check for name_to_handle_at declaration instead of its definition
[elogind.git] / src / shared / missing.h
index 14abe4ee2eacf95223f4d470c28130af0e200de3..1a31066032e7de740ab21116fbf3b8dbae86b7d9 100644 (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;