From 667c7a866700ec0aa6cb15dc7f8c644375c23397 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 25 Mar 2026 10:51:33 +0100 Subject: [PATCH] include/c.h: fix inverted #ifdef for sys/auxv.h The #ifndef was inverted, causing sys/auxv.h to be included when it is NOT available. Fix to #ifdef. Addresses: https://github.com/util-linux/util-linux/issues/4144 --- include/c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/c.h b/include/c.h index e74a4486b..991048dbd 100644 --- a/include/c.h +++ b/include/c.h @@ -38,7 +38,7 @@ # define NAME_MAX PATH_MAX #endif -#ifndef HAVE_SYS_AUXV_H +#ifdef HAVE_SYS_AUXV_H # include #endif -- 2.47.3