Martin, It is a pretty common standard in visual studio to include "WIN32" as a preprocessor definition. This could work for your header chagne. #ifdef WIN32 typedef void* fd_t #else typedef int fd_t #endif James M. Lobraco Vice President Front Office Structured Trading Bank of America 312.234.2942