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:
A. Wilcox
2024-08-22 04:26:32 +09:00
committed by Yu Watanabe
parent 26823f980d
commit b9d326c568
+1
View File
@@ -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>