basic: move missing_socket.h -> include/sys/socket.h

This commit is contained in:
Yu Watanabe
2025-07-01 12:27:59 +09:00
parent 92953ea03d
commit 549f679a49
6 changed files with 2 additions and 6 deletions
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <sys/socket.h> /* IWYU pragma: export */
#include_next <sys/socket.h>
/* Supported since kernel v6.5 (5e2ff6704a275be009be8979af17c52361b79b89) */
#ifndef SO_PASSPIDFD
+1 -1
View File
@@ -127,7 +127,7 @@ basic_sources += missing_syscall_def_h
generate_af_list = find_program('generate-af-list.sh')
af_list_txt = custom_target(
output : 'af-list.txt',
command : [generate_af_list, cpp, files('missing_socket.h')],
command : [generate_af_list, cpp, files('include/sys/socket.h')],
capture : true)
generate_arphrd_list = find_program('generate-arphrd-list.sh')
-1
View File
@@ -13,7 +13,6 @@
#include "forward.h"
#include "memory-util.h"
#include "missing_network.h"
#include "missing_socket.h"
union sockaddr_union {
/* The minimal, abstract version */