aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-05-01 21:21:09 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-05-02 21:28:59 +0200
commit113a073baf6eb6436c785a084512f8de163676ad (patch)
treee3655cb170b885f0322fc0721dad6dc12f0eb6fe /man7
parentbdc01e533e834c1da6bc032a5792d839139e5743 (diff)
downloadman-pages-113a073baf6eb6436c785a084512f8de163676ad.tar.gz
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>
Diffstat (limited to 'man7')
-rw-r--r--man7/inotify.71
1 files changed, 1 insertions, 0 deletions
diff --git a/man7/inotify.7 b/man7/inotify.7
index 50d93af43c..45a39b4957 100644
--- a/man7/inotify.7
+++ b/man7/inotify.7
@@ -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.