On Tue, Aug 18, 2015 at 4:09 PM, Pieter du Plooy <[email protected]> wrote:
> Hi guys
>
> I get the following error while building 2.10 on OSX with Homebrew:
>
> /tmp/qgis-21020150818-13516-6fgnoh/QGIS-final-2_10_1/src/providers/grass/qgsgrassdatafile.cpp:76:7:
> error: unknown type name 'fd_set'
>       fd_set readFds;

The problem is that #ifdef using Q_OS_UNIX is before <QtGlobal> header
file where it is defined was included. Larry Shaffer fixed that in
master https://github.com/qgis/QGIS/commit/d722f5bd4b8. Apply that
patch or add #include <QtGlobal> at top of the file.

It seems that sys/select.h gets always included in other way on Linux.

Radim
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to