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

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



Steve Langasek wrote:
> 
> What happens if you change the order of the include files to move
> <linux/cdrom.h> below <netinet/in.h>?
> 

Yes, that does it. ;) I'd used in.h in my own programs before but wasn't
aware of this incompatibility with kernel includes.

Thanks,

-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo



Reply to: