From 1d0de88ebe324b704c8584b8ea9472bb3027478c Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Tue, 9 Sep 2025 21:59:56 +0200 Subject: [PATCH] man/: EXAMPLES: Fix includes Reported-by: iwyu(1) Fixes: 0e7a39804a3c (2025-08-20; "man/: EXAMPLES: Use err(3) and errc(3bsd) instead of similar macros") Signed-off-by: Alejandro Colomar --- man/man2/bind.2 | 1 - man/man2/shmop.2 | 2 ++ man/man3/pthread_cancel.3 | 1 - man/man3/pthread_create.3 | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/man/man2/bind.2 b/man/man2/bind.2 index 309f6d9d7..fa269f8df 100644 --- a/man/man2/bind.2 +++ b/man/man2/bind.2 @@ -210,7 +210,6 @@ domain, and accept connections: .\" SRC BEGIN (bind.c) .EX #include -#include #include #include #include diff --git a/man/man2/shmop.2 b/man/man2/shmop.2 index bdabd6dce..a0e512c90 100644 --- a/man/man2/shmop.2 +++ b/man/man2/shmop.2 @@ -348,6 +348,7 @@ shared memory segment by the "writer". \& Licensed under GNU General Public License v2 or later. */ +#include #include #include #include @@ -430,6 +431,7 @@ and then decrements the semaphore value to 0 in order to inform the \& Licensed under GNU General Public License v2 or later. */ +#include #include #include #include diff --git a/man/man3/pthread_cancel.3 b/man/man3/pthread_cancel.3 index c89c8ca48..474b3daa7 100644 --- a/man/man3/pthread_cancel.3 +++ b/man/man3/pthread_cancel.3 @@ -149,7 +149,6 @@ main(): thread was canceled .\" SRC BEGIN (pthread_cancel.c) .EX #include -#include #include #include #include diff --git a/man/man3/pthread_create.3 b/man/man3/pthread_create.3 index 8c9f58edd..7a940c10a 100644 --- a/man/man3/pthread_create.3 +++ b/man/man3/pthread_create.3 @@ -252,7 +252,6 @@ Joined with thread 3; returned value was SERVUS .EX #include #include -#include #include #include #include -- 2.47.3