Visual Studio doesn't have unistd.h, and mysql2 compiles just fine.