summaryrefslogtreecommitdiffstats
path: root/man/event-quick-child.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-04-03 18:29:41 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-04-03 19:30:29 +0200
commit040cb66458e7a06c759569c08948188296c267fe (patch)
treed8b8b7dd87b0d220334018eadc9205fc307ba246 /man/event-quick-child.c
parentssh-generator: create privsep dir via tmpfiles.d/ if we are told to (diff)
downloadsystemd-040cb66458e7a06c759569c08948188296c267fe.tar.xz
systemd-040cb66458e7a06c759569c08948188296c267fe.zip
man/examples: set _GNU_SOURCE in source, rather than by compile option
Addresses https://github.com/systemd/systemd/pull/32057#issuecomment-2034408569.
Diffstat (limited to 'man/event-quick-child.c')
-rw-r--r--man/event-quick-child.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/man/event-quick-child.c b/man/event-quick-child.c
index b95ee1bef6..828f0cd6f4 100644
--- a/man/event-quick-child.c
+++ b/man/event-quick-child.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: MIT-0 */
+#define _GNU_SOURCE 1
#include <assert.h>
#include <stdio.h>
#include <unistd.h>