summaryrefslogtreecommitdiff
path: root/udev/udev-sysdeps.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev-sysdeps.h')
-rw-r--r--udev/udev-sysdeps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/udev-sysdeps.h b/udev/udev-sysdeps.h
index eaeab86f6b..08d7e48543 100644
--- a/udev/udev-sysdeps.h
+++ b/udev/udev-sysdeps.h
@@ -33,6 +33,7 @@
#ifndef HAVE_INOTIFY
static inline int inotify_init(void)
{
+ errno = ENOSYS;
return -1;
}