Re: [ANNOUNCE] udev 133 release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* "Gabor Z. Papp" <gzp@xxxxxxx>:

| ./udev-sysdeps.h: In function 'inotify_init':
| ./udev-sysdeps.h:36: error: 'errno' undeclared (first use in this function)
| ./udev-sysdeps.h:36: error: (Each undeclared identifier is reported only once
| ./udev-sysdeps.h:36: error: for each function it appears in.)
| ./udev-sysdeps.h:36: error: 'ENOSYS' undeclared (first use in this function)

Is this a good fix in udev-sysdeps.h?

#ifndef HAVE_INOTIFY
static inline int inotify_init(void)
{
#include <errno.h>

        errno = ENOSYS;
        return -1;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux