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-21 09:35:58 -05:00 committed by Yu Watanabe
parent 26823f980d
commit b9d326c568

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>