man/examples: fix sd- header path

This commit is contained in:
Yu Watanabe 2024-04-03 04:22:36 +09:00
parent e84f70e16d
commit 2548ce6a30
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
#include <assert.h>
#include <stdio.h>
#include <unistd.h>
#include <sd-event.h>
#include <systemd/sd-event.h>
int main(int argc, char **argv) {
pid_t pid = fork();

View File

@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdint.h>
#include <sd-hwdb.h>
#include <systemd/sd-hwdb.h>
int print_usb_properties(uint16_t vid, uint16_t pid) {
char match[128];

View File

@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <sd-path.h>
#include <systemd/sd-path.h>
int main(void) {
int r;

View File

@ -3,7 +3,7 @@
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <sd-bus.h>
#include <systemd/sd-bus.h>
int writer_with_negative_errno_return(int fd, sd_bus_error *error) {
const char *message = "Hello, World!\n";