1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00
libvirt/examples
Michal Privoznik 9ef6541cec examples: Define _GNU_SOURCE for more examples
Some of our examples use GNU/Linux extensions functions/variables:

1) domtop.c uses usleep(3),
2) logging.c uses getopt(3).

Put _GNU_SOURCE definition at the top of corresponding files so
that users can just grab the code and compile it (in contrast
with the rest of the code where _GNU_SOURCE is declared in
meson-config.h).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-02-07 18:01:03 +01:00
..
c examples: Define _GNU_SOURCE for more examples 2024-02-07 18:01:03 +01:00
polkit meson: examples: build and install example files 2020-08-03 09:27:06 +02:00
sh meson: examples: build and install example files 2020-08-03 09:27:06 +02:00
systemtap Fix some typos 2023-03-09 14:09:16 +01:00
xml examples: testdriver: Add a nested inline <volume> example 2022-10-19 16:40:36 -04:00
meson.build meson: examples: build and install example files 2020-08-03 09:27:06 +02:00