<linux/cdrom.h> breakage 2.3.xxx

Neal Becker (nbecker@fred.net)
15 Sep 1999 20:15:44 -0400


In <linux/cdrom.h> with recent 2.3.x, we have:

#include <linux/types.h>

But in <linux/types.h> we have:

/*
* Below are truly Linux-specific types that should never collide with
* any application/library that wants linux/types.h.
*/

struct ustat {
__kernel_daddr_t f_tfree;
__kernel_ino_t f_tinode;
char f_fname[6];
char f_fpack[6];
};

Yeah, but in glibc-2.1 <sys/ustat.h> gives:

struct ustat
{
__daddr_t f_tfree;
__ino_t f_tinode;
char f_fname[6];
char f_fpack[6];
};

One of these has to go, I think.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/