]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
include: net/if.h requires features.h 37785/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 9 Jun 2025 04:59:39 +0000 (13:59 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 9 Jun 2025 13:45:23 +0000 (22:45 +0900)
The header uses __THROW, which is defined in features.h, to make the
header self-consistent.
Note, src/basic/include/sys/mount.h also uses __THROW, and includes
features.h.

src/basic/include/net/if.h

index ba2948ae5c0c926449113f7f3f6bd252a0a6e979..1914b596e36f5ca471ee6b01a34cd52e6412f78b 100644 (file)
@@ -1,6 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
+#include <features.h>
 #include <linux/if.h>   /* IWYU pragma: export */
 
 #define IF_NAMESIZE       16