GNOME Bugzilla – Bug 675524
gsocket: FIONREAD undeclared (needs sys/filio.h)
Last modified: 2012-08-06 15:57:05 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.
*** Bug 675523 has been marked as a duplicate of this bug. ***
The following fix has been pushed: cc80ae3 Solaris build fix for GIO
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.