summaryrefslogtreecommitdiffstats
path: root/bus/dir-watch-dnotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/dir-watch-dnotify.c')
-rw-r--r--bus/dir-watch-dnotify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bus/dir-watch-dnotify.c b/bus/dir-watch-dnotify.c
index 988ef384..72d2ad40 100644
--- a/bus/dir-watch-dnotify.c
+++ b/bus/dir-watch-dnotify.c
@@ -27,6 +27,9 @@
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
+#ifdef HAVE_ERRNO_H
+#include <errno.h>
+#endif
#include <dbus/dbus-internals.h>
#include "dir-watch.h"