From: Karel Zak Date: Thu, 2 Mar 2023 12:47:14 +0000 (+0100) Subject: include/c: remove duplicate include, improve readablity X-Git-Tag: v2.39-rc1~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ae8b20134c8224b74741c50702e0bd004c94e39;p=thirdparty%2Futil-linux.git include/c: remove duplicate include, improve readablity Signed-off-by: Karel Zak --- diff --git a/include/c.h b/include/c.h index 7e8177ac01..23fff37025 100644 --- a/include/c.h +++ b/include/c.h @@ -310,8 +310,9 @@ static inline __attribute__((const)) int is_power_of_2(unsigned long num) typedef int64_t loff_t; #endif -#if !defined(HAVE_DIRFD) && (!defined(HAVE_DECL_DIRFD) || HAVE_DECL_DIRFD == 0) && defined(HAVE_DIR_DD_FD) -#include +#if !defined(HAVE_DIRFD) \ + && (!defined(HAVE_DECL_DIRFD) || HAVE_DECL_DIRFD == 0) \ + && defined(HAVE_DIR_DD_FD) #include static inline int dirfd(DIR *d) {