diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-05-02 01:03:49 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-05-02 01:24:39 +0200 |
| commit | 0320049eac3618e0c4ee3ffdc70062e19e0ba33f (patch) | |
| tree | 6b057faaf150c83c188763bdadfcd603751ab037 /man/man7/unix.7 | |
| parent | d57601c87718fb90b222c423d8b875dfd3d13b36 (diff) | |
| download | man-pages-0320049eac3618e0c4ee3ffdc70062e19e0ba33f.tar.gz | |
man/: EXAMPLES: Add missing includes
Link: <https://github.com/include-what-you-use/include-what-you-use/pull/1283>
Link: <https://github.com/include-what-you-use/include-what-you-use/pull/1344>
Reported-by: iwyu(1) (`make lint-c-iwyu`)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man7/unix.7')
| -rw-r--r-- | man/man7/unix.7 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/man/man7/unix.7 b/man/man7/unix.7 index 642b0b37e0..433ac02f40 100644 --- a/man/man7/unix.7 +++ b/man/man7/unix.7 @@ -980,6 +980,7 @@ $ #include <stdlib.h> #include <string.h> #include <sys/socket.h> +#include <sys/types.h> #include <sys/un.h> #include <unistd.h> \& @@ -1125,6 +1126,7 @@ main(void) #include <stdlib.h> #include <string.h> #include <sys/socket.h> +#include <sys/types.h> #include <sys/un.h> #include <unistd.h> \& |
