diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-03-26 01:35:11 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-03-26 02:07:02 +0100 |
commit | 72f675cbf5b1a0f82114b2f303beb3d114e7a295 (patch) | |
tree | a6227e628df859236426d91e04c968f532849f86 /man2 | |
parent | 0b999a861eac677140d14421a04d209b41bc74cd (diff) |
man*/: EXAMPLES: Fix includes
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man2')
-rw-r--r-- | man2/shmop.2 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/man2/shmop.2 b/man2/shmop.2 index f67595552..cbbd821d8 100644 --- a/man2/shmop.2 +++ b/man2/shmop.2 @@ -319,13 +319,9 @@ The following header file is included by the "reader" and "writer" programs: \& Licensed under GNU General Public License v2 or later. */ -#include <sys/types.h> -#include <sys/ipc.h> -#include <sys/shm.h> -#include <sys/sem.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> +#include <sys/sem.h> \& #define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \e } while (0) |