chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow watch handle to be stored in the udevdb.
[elogind.git]
/
udev
/
udev-sysdeps.h
diff --git
a/udev/udev-sysdeps.h
b/udev/udev-sysdeps.h
index eaeab86f6b1cd6b7bcaaf4cef3d37888eca428b8..e20ea48a2f9f363da296321366f50eff15085e20 100644
(file)
--- a/
udev/udev-sysdeps.h
+++ b/
udev/udev-sysdeps.h
@@
-21,6
+21,7
@@
#define _UDEV_SYSDEPS_H_
#include <stdint.h>
+#include <errno.h>
/* needed for our signal handlers to work */
#undef asmlinkage
@@
-33,6
+34,7
@@
#ifndef HAVE_INOTIFY
static inline int inotify_init(void)
{
+ errno = ENOSYS;
return -1;
}