[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    kdemultimedia-1.1.2 broken on linux-2.3.x
From:       Neal Becker <nbecker () fred ! net>
Date:       1999-09-16 0:13:47
[Download RAW message or body]

With linux-2.3.17+, in <linux/cdrom.h> we have:

#include <linux/types.h>

That's a big problem, because this gives a definition for the struct
ustat.  But there's another definition in glibc-2.1 <sys/ustat.h>!

The only workaround I can find for now:

*** plat_linux.c	1999/09/15 23:58:29	1.1
--- plat_linux.c	1999/09/16 00:10:16
***************
*** 45,51 ****
--- 45,53 ----
  #include <sys/ustat.h>
  #endif
  
+ #define ustat EATME
  #include <linux/cdrom.h>
+ #undef ustat
  #include "struct.h"
  
  #include "config.h"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic