[kde-solaris] FIONREAD undeclared in kdelib/kdecore/network

Stefan Teleman steleman at nyc.rr.com
Sat Aug 21 20:29:27 CEST 2004

On Saturday 21 August 2004 03:58, Christopher Layne wrote:
> How is that a GCC bug?

Because it needs -DBSD_COMP added. Solaris is no longer a derivative 
of BSD, and has not been so for a long while. You don't need 
-DBSD_COMP when building with SunProCC, and including sys/fileio.h. 
Neither is sys/fileio.h guarded by #ifdef BSD_COMP in Sun's header 

I do see your point that not requiring pointless defines makes things 
easier, in general.


Stefan Teleman          'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com                          -Monty Python

More information about the kde-solaris mailing list