chiark / gitweb /
timedatectl: introduce new command line client for timedated
[elogind.git] / src / shared / missing.h
index c5bb71a504c5a04962c39923c399d781a1085bad..1a31066032e7de740ab21116fbf3b8dbae86b7d9 100644 (file)
@@ -209,16 +209,16 @@ static inline pid_t gettid(void) {
 #endif
 
 #ifdef __x86_64__
-#  ifndef __NR_name_to_handle
-#    define __NR_name_to_handle 303
+#  ifndef __NR_name_to_handle_at
+#    define __NR_name_to_handle_at 303
 #  endif
 #else
-#  ifndef __NR_name_to_handle
-#    define __NR_name_to_handle 341
+#  ifndef __NR_name_to_handle_at
+#    define __NR_name_to_handle_at 341
 #  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;