Date: Mon, 2 Mar 1998 12:11:04 +0200 (IST) From: Eli Zaretskii To: ckchan cc: djgpp AT delorie DOT com Subject: Re: header files ? revisited In-Reply-To: <34F99012.D7B929B7@pc.jaring.my> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 1 Mar 1998, ckchan wrote: > What i mean here is say i need netdb.h in certain program, that header file > can't be found in djgpp's include folder. But it is available in linux's > usr/include folder. What can i do to port the header file to djgpp ?? Your *real* problem is not the missing header. The functions that this header declares are missing from the DJGPP library. Copying a header won't help, because the linker won't find these functions which the code you are trying to compile needs. You need to find a library which implements the netdb functionality, and which will compile and work in a DJGPP program. When you find such a library, it will most probably come with the netdb.h header. Sorry, I don't know where (or indeed if) such a library is available.