From 0484cf1a3cde1a5993425c938645f762db738033 Mon Sep 17 00:00:00 2001 From: Matt Fischer Date: Mon, 4 Feb 2013 18:30:14 -0600 Subject: Fix inotify usage for QNX QNX's copy of sys/inotify.h is broken, and doesn't include stdint.h even though it refers to types from it. Therefore, it must be included manually. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61176 Reviewed-by: Simon McVittie --- bus/dir-watch-inotify.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bus') diff --git a/bus/dir-watch-inotify.c b/bus/dir-watch-inotify.c index 2e9be988..d684831d 100644 --- a/bus/dir-watch-inotify.c +++ b/bus/dir-watch-inotify.c @@ -22,11 +22,15 @@ * */ +/* Be careful, this file is not Linux-only: QNX also uses it */ + #include #include #include #include +/* QNX's inotify is broken, and requires stdint.h to be manually included first */ +#include #include #include #include -- cgit v1.2.3