inotify.7: Add missing #include in example program

Reported-by: Jason Etherton <jason@ethertonltd.co.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-05-01 21:21:09 +02:00
parent bdc01e533e
commit 113a073baf
1 changed files with 1 additions and 0 deletions

View File

@ -923,6 +923,7 @@ Listening for events stopped.
#include <stdlib.h>
#include <sys/inotify.h>
#include <unistd.h>
#include <string.h>
/* Read all available inotify events from the file descriptor 'fd'.
wd is the table of watch descriptors for the directories in argv.