summaryrefslogtreecommitdiff
path: root/src/readahead/readahead-collect.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-04 15:20:04 -0700
committerLennart Poettering <lennart@poettering.net>2012-09-04 15:30:24 -0700
commita8348796c0d39435b1c3d85ce6e95dad1ac85fec (patch)
tree4541d80702f3b837ec1cfc65a19ef3c5338c9a99 /src/readahead/readahead-collect.c
parent438bacd18e0b8766c5add47f28b04876272daa97 (diff)
missing: define name_to_handle_at on our own if it is missing
Diffstat (limited to 'src/readahead/readahead-collect.c')
-rw-r--r--src/readahead/readahead-collect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/readahead/readahead-collect.c b/src/readahead/readahead-collect.c
index 4fcf64c24d..a3f7df5f6a 100644
--- a/src/readahead/readahead-collect.c
+++ b/src/readahead/readahead-collect.c
@@ -43,6 +43,10 @@
#include <getopt.h>
#include <sys/inotify.h>
+#ifdef HAVE_FANOTIFY_INIT
+#include <sys/fanotify.h>
+#endif
+
#include <systemd/sd-daemon.h>
#include "missing.h"