include: net/if.h requires features.h

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.
This commit is contained in:
Yu Watanabe
2025-06-09 22:45:23 +09:00
parent 8139906eaa
commit afe1567297
+1
View 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