mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
man: Ensure notify example includes <string.h>
This ensures that memcpy and strerror are defined. This is especially important with GCC 14 as implicit function declarations are now an error.
This commit is contained in:
parent
26823f980d
commit
b9d326c568
@ -15,6 +15,7 @@
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <time.h>
|
||||
|
Loading…
Reference in New Issue
Block a user