markondej / fm_transmitter

Raspberry Pi as FM transmitter
1.32k stars 292 forks source link

Fixed the errno issue during make. #76

Open chittaksh opened 5 years ago

chittaksh commented 5 years ago

wave_reader.cpp: In member function ‘std::vector* WaveReader::readData(unsigned int, bool, bool&)’: wave_reader.cpp:118:69: error: ‘errno’ was not declared in this scope if (((bytes == -1) && ((fileDescriptor != STDIN_FILENO) || (errno != EAGAIN))) || ^ wave_reader.cpp:118:78: error: ‘EAGAIN’ was not declared in this scope if (((bytes == -1) && ((fileDescriptor != STDIN_FILENO) || (errno != EAGAIN))) || ^ makefile:21: recipe for target 'wave_reader.o' failed make: *** [wave_reader.o] Error 1