X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Fudev-sysdeps.h;h=e20ea48a2f9f363da296321366f50eff15085e20;hp=eaeab86f6b1cd6b7bcaaf4cef3d37888eca428b8;hb=18cff5c3b2e3591fa46107288ea2d7026a15ccf3;hpb=8460299b572eb13e7b97a0956b59c053f9009afa diff --git a/udev/udev-sysdeps.h b/udev/udev-sysdeps.h index eaeab86f6..e20ea48a2 100644 --- a/udev/udev-sysdeps.h +++ b/udev/udev-sysdeps.h @@ -21,6 +21,7 @@ #define _UDEV_SYSDEPS_H_ #include +#include /* 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; }