summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
Diffstat (limited to 'inotail.h')
-rw-r--r--inotail.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/inotail.h b/inotail.h
index d885855..f6e90e8 100644
--- a/inotail.h
+++ b/inotail.h
@@ -24,4 +24,7 @@ struct file_struct {
# define dprintf(fmt, args...)
#endif /* DEBUG */
+/* Taken from linux kernel source tree */
+#define unlikely(x) __builtin_expect(!!(x), 0)
+
#endif /* _INOTAIL_H */