On Thu, Nov 20, 2008 at 23:08, Gabor Z. Papp <gzp@xxxxxxx> wrote: > * "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; > } Applied. Thanks, Kay -- 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