[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is this a bug with glibc (ntohl, ntohs, ...)?



On Sun, Mar 18, 2001 at 11:08:37PM +0000, Philip Blundell wrote:
> Eray Ozkural wrote:
> >I was trying to compile a program. In a header the following preprocessor
> >includes are employed
> 
> >#include <linux/cdrom.h>
> 
> That's your problem.  It's a kernel header, and you're trying to include it 
> from an application program.

So what is the correct solution?  Remove linux/cdrom.h?  What if you
need to use the cdrom driver in your application?
--
Chris Ruffin <c.ruffin@ieee.org>

Attachment: pgpXKioJGZK98.pgp
Description: PGP signature


Reply to: