Problem
Current git tip fails to build on OS X because of an unknown identifier (fd_set) in rdpdr_main.h:60
Steps to reproduce
# git clone https://github.com/FreeRDP/FreeRDP.git
# cd FreeRDP/
# sh autogen.sh
# ./configure
# make
Expected result
No error, built executable
Actual Result
Making all in channels/rdpdr
CC rdpdr_la-rdpdr_main.lo
CC rdpdr_la-rdpdr_capabilities.lo
CC rdpdr_la-devman.lo
In file included from rdpdr_scard.h:28,
from devman.c:25:
rdpdr_main.h:60: error: expected specifier-qualifier-list before 'fd_set'
make[2]: *** [rdpdr_la-devman.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Proposed solution
Including select.h in rdpdr_main.h solved the problem. Patch below:
Problem Current git tip fails to build on OS X because of an unknown identifier (fd_set) in rdpdr_main.h:60
Steps to reproduce
Expected result No error, built executable
Actual Result
Proposed solution Including select.h in rdpdr_main.h solved the problem. Patch below: