--- fox-1.6.57/src/FXGUISignal.cpp.~1~ Tue Apr 3 23:42:42 2018 +++ fox-1.6.57/src/FXGUISignal.cpp Sat Jul 14 23:02:52 2018 @@ -45,6 +45,10 @@ #endif #include "FXGUISignal.h" +#ifdef __sun__ + #include <sys/filio.h> /* For FIONREAD */ +#endif + /* Notes: - On UNIX, pipe will be closed on exec of child process; we don't want