From: Collin Funk Date: Sun, 28 Sep 2025 22:20:37 +0000 (-0700) Subject: manual: fix missing include in sigh1 example. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd4e8ae64e70740ec76220b101e5b589d305b9db;p=thirdparty%2Fglibc.git manual: fix missing include in sigh1 example. Previously this file would fail to compile with the following error: $ gcc manual/examples/sigh1.c manual/examples/sigh1.c: In function ‘main’: manual/examples/sigh1.c:46:3: error: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration] 46 | alarm (2); | ^~~~~ Reviewed-by: Adhemerval Zanella --- diff --git a/manual/examples/sigh1.c b/manual/examples/sigh1.c index a540651058..b770158c2b 100644 --- a/manual/examples/sigh1.c +++ b/manual/examples/sigh1.c @@ -18,6 +18,7 @@ #include #include #include +#include /* This flag controls termination of the main loop. */ volatile sig_atomic_t keep_going = 1;