From: "Kay Sievers" Date: Fri, 21 Nov 2008 03:20:46 +0000 Subject: Re: [ANNOUNCE] udev 133 release Message-Id: List-Id: References: <1226976996.4861.14.camel@nga> In-Reply-To: <1226976996.4861.14.camel@nga> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Nov 20, 2008 at 23:08, Gabor Z. Papp wrote: > * "Gabor Z. Papp" : > > | ./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 = ENOSYS; > return -1; > } Applied. Thanks, Kay