Re: Little fix to remove warning in cgiwrap.c
David Young <[email protected]>
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Mar 06, 2007 at 03:40:35PM +0100, Rapha?l HUCK wrote: > Hi, > > this is just a minor thing, but you could add: > > #ifdef __UCLIBC__ > # include <unistd.h> > #endif > > at the top of cgiwrap.c to remove this warning: > > cgiwrap.c:239: warning: implicit declaration of function `read' I don't think that the #ifdef is necessary. The #include is necessary, at least according to the manual page read(2) on NetBSD and on Linux. The #include is probably specified by POSIX, as well. Dave -- David Young OJC Technologies [email protected] Urbana, IL * (217) 278-3933