basic: move missing_wait.h -> include/sys/wait.h
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
#pragma once
|
||||
|
||||
#include <sys/wait.h> /* IWYU pragma: export */
|
||||
|
||||
#include "forward.h"
|
||||
#include_next <sys/wait.h>
|
||||
|
||||
/* since glibc-2.36 */
|
||||
#ifndef P_PIDFD
|
||||
# define P_PIDFD 3
|
||||
#else
|
||||
assert_cc(P_PIDFD == 3);
|
||||
_Static_assert(P_PIDFD == 3, "");
|
||||
#endif
|
||||
+1
-1
@@ -1,5 +1,6 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "alloc-util.h"
|
||||
@@ -8,7 +9,6 @@
|
||||
#include "format-util.h"
|
||||
#include "hash-funcs.h"
|
||||
#include "log.h"
|
||||
#include "missing_wait.h"
|
||||
#include "parse-util.h"
|
||||
#include "pidfd-util.h"
|
||||
#include "pidref.h"
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "logarithm.h"
|
||||
#include "memory-util.h"
|
||||
#include "missing_magic.h"
|
||||
#include "missing_wait.h"
|
||||
#include "origin-id.h"
|
||||
#include "path-util.h"
|
||||
#include "pidfd-util.h"
|
||||
|
||||
Reference in New Issue
Block a user