[BusyBox] Re: [PATCH] devfsd

Erik Andersen andersen at codepoet.org
Thu Oct 9 21:06:41 UTC 2003


On Fri Oct 10, 2003 at 12:24:31AM +0200, Matteo Croce wrote:
> There are some include files (like those in RedHat 9, for example) that, 
> I don't know why, don't #define DEVFSD_NOTIFY_DELETE.
> I made this patch to avoid compile errors.
> This hack was present in the previous version of the applet but Tito 
> removed it, maybe he don't uses Red Hat...

> --- miscutils/devfsd.c.orig	2003-10-09 22:45:10.000000000 +0200
> +++ miscutils/devfsd.c	2003-10-09 23:39:58.000000000 +0200
> @@ -71,6 +71,9 @@
>  #include <linux/major.h>
>  #include <linux/devfs_fs.h>
>  #include <linux/kdev_t.h>
> +#ifndef DEVFSD_NOTIFY_DELETE
> +#define DEVFSD_NOTIFY_DELETE	7
> +#endif

Actually, the correct fix is all the #include <linux*> header
files should be entirely removed, which is what I just checked
into cvs...

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list