After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675524 - gsocket: FIONREAD undeclared (needs sys/filio.h)
gsocket: FIONREAD undeclared (needs sys/filio.h)
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
2.32.x
Other Solaris
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 675523 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-05-05 19:00 UTC by Fabian Groffen
Modified: 2012-08-06 15:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Solaris FIONREAD compilation fix (819 bytes, patch)
2012-05-05 19:00 UTC, Fabian Groffen
none Details | Review
Solaris build fix for GIO (1.45 KB, patch)
2012-08-06 15:57 UTC, Matthias Clasen
committed Details | Review

Description Fabian Groffen 2012-05-05 19:00:56 UTC
Created attachment 213510 [details] [review]
Solaris FIONREAD compilation fix

Solaris/OpenSolaris/OpenIndiana define FIONREAD in sys/filio.h.  Attached patch adds a configure check for this header, and includes it conditionally in gio/gsocket.c.
Comment 1 Fabian Groffen 2012-05-05 19:07:24 UTC
*** Bug 675523 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Clasen 2012-08-06 15:57:02 UTC
The following fix has been pushed:
cc80ae3 Solaris build fix for GIO
Comment 3 Matthias Clasen 2012-08-06 15:57:05 UTC
Created attachment 220465 [details] [review]
Solaris build fix for GIO

Solaris/OpenSolaris/OpenIndiana define FIONREAD in sys/filio.h.
This commit adds a configure check for this header, and includes
it conditionally in gio/gsocket.c.

Patch by Fabian Groffen, bug 675524.