]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/getopt_long.3: EXAMPLES: Add missing include
authorAlejandro Colomar <alx@kernel.org>
Wed, 24 Dec 2025 21:41:13 +0000 (22:41 +0100)
committerAlejandro Colomar <alx@kernel.org>
Thu, 25 Dec 2025 01:32:11 +0000 (02:32 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/getopt_long.3

index a464349feefb87e2a41dcd0b21f0a8926de2d173..72668d7790dc9f28631622ab16decddaf6062664 100644 (file)
@@ -156,8 +156,9 @@ with most of its features.
 .\" SRC BEGIN (getopt_long.c)
 .EX
 #include <getopt.h>
-#include <stdio.h>     /* for printf */
-#include <stdlib.h>    /* for exit */
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
 \&
 int
 main(int argc, char *argv[])