Open bradrn opened 5 years ago
I probably included that header for some debugging purpose and forgot to remove it.
The quality of this codebase is not guaranteed!
Thank you for clarifying. But actually, I've just remembered it got even weirder than that: several other files included the same header, but it doesn't seem to trigger any errors in those files.
When I try to install this on Windows, I get the following error:
This is because the
unistd.h
library is not available on Windows. Surprisingly however, it turns out that if I simply comment out the#include "unistd.h"
line inrecorder.cpp
, everything starts to work. If this header file is not used, then why is it#include
d at all, or does commenting out this line cause some subtle error that I'm missing?