diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-04-03 18:29:41 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-04-03 19:30:29 +0200 |
commit | 040cb66458e7a06c759569c08948188296c267fe (patch) | |
tree | d8b8b7dd87b0d220334018eadc9205fc307ba246 /man/vtable-example.c | |
parent | ssh-generator: create privsep dir via tmpfiles.d/ if we are told to (diff) | |
download | systemd-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/vtable-example.c')
-rw-r--r-- | man/vtable-example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/man/vtable-example.c b/man/vtable-example.c index 417ee0ccf1..2e8994471a 100644 --- a/man/vtable-example.c +++ b/man/vtable-example.c @@ -1,5 +1,6 @@ /* SPDX-License-Identifier: MIT-0 */ +#define _GNU_SOURCE 1 #include <errno.h> #include <stdbool.h> #include <stddef.h> |