httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: svn commit: r451580 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Mon, 02 Oct 2006 20:45:28 GMT


On 09/30/2006 01:04 PM, wrote:
> Author: mturk
> Date: Sat Sep 30 04:04:46 2006
> New Revision: 451580
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=451580
> Log:
> Add alternative is_socket_connected implementation.
> It works on win32 and linux for sure, so that's why
> I put it inside the #ifdef.
> Of course something like that needs APR abstraction.

This breaks compilation on my Linux as FIONREAD is undefined
without sys/ioctl.h being included:

proxy_util.c: In function `is_socket_connected':
proxy_util.c:2124: warning: implicit declaration of function `ioctl'
proxy_util.c:2124: `FIONREAD' undeclared (first use in this function)
proxy_util.c:2124: (Each undeclared identifier is reported only once
proxy_util.c:2124: for each function it appears in.)
make[4]: *** [proxy_util.slo] Fehler 1
make[4]: Verlassen des Verzeichnisses »/usr/src/apache/httpd-trunk/modules/proxy«
make[3]: *** [shared-build-recursive] Fehler 1
make[3]: Verlassen des Verzeichnisses »/usr/src/apache/httpd-trunk/modules/proxy«
make[2]: *** [shared-build-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses »/usr/src/apache/httpd-trunk/modules«
make[1]: *** [shared-build-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses »/usr/src/apache/httpd-trunk«
make: *** [all-recursive] Fehler 1

Regards

Rüdiger


Mime
View raw message