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

Re: linux includes / inet includes



On Fri, Sep 17, 1999 at 02:44:47 +0800, Paul Harris wrote:
> hi, i'm trying to fix up vrweb, and if successful will apply for adoption
> and all that (already talked to the original maintainer).
> 
> anyway, the current problem is the conflict between the linux includes and
> debian's netinet includes:

Regular application code shouldn't use the linux includes anymore. In the
libc5 days, it was quite common to include linux/*. Nowadays, glibc has
portable headers for just about everything, and linux/* is only needed for
really low-level stuff. Try removing #include<linux/whatever.h> in favour of
a #include<netinet/foo.h> which provides the functionality required.

HTH,
Ray
-- 
Obsig: developing a new sig


Reply to: