From 182ef1b53203f59c66e3d591cbeb23c49ba27ba5 Mon Sep 17 00:00:00 2001 From: Matt Fischer Date: Mon, 4 Feb 2013 18:30:14 -0600 Subject: [PATCH] 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. --- bus/dir-watch-inotify.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bus/dir-watch-inotify.c b/bus/dir-watch-inotify.c index 2e9be98..d684831 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 -- 1.8.0.msysgit.0