kioslave/media compile error

Ismail Donmez ismail at kde.org.tr
Sat Dec 18 21:26:15 GMT 2004


On Saturday 18 December 2004 23:23, Kévin Ottens wrote:
> Le Samedi 18 Décembre 2004 19:28, Thiago Macieira a écrit :
> > Let me repeat once again: userspace programs, like KDE, should NOT
> > include kernel header files. Copy the necessary structures to a private
> > header.
>
> Do you mean that I should recopy the necessary parts (one struct and
> several #define) of linux/cdrom.h into the cpp file? What happened if some
> of the #define'd values changes?

Try,

#undef __STRICT_ANSI__
#include <linux/cdrom.h>
#define __STRICT_ANSI_

Cheers,
ismail




More information about the kde-core-devel mailing list