basic: move missing_socket.h -> include/sys/socket.h
This commit is contained in:
@@ -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
|
||||
@@ -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')
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user