diff options
author | s0uthwest | 2019-02-02 03:29:12 -0800 |
---|---|---|
committer | GitHub | 2019-02-02 03:29:12 -0800 |
commit | 620a6b7a84946f12f471a81918da81fc3d104de6 (patch) | |
tree | aba430368e027c97bd46e81ae54615e1e9a9bd26 /src/common.c | |
parent | 8aa4246ddef30c0e114362b6ef2a8e6ee0ed3817 (diff) | |
download | idevicerestore-620a6b7a84946f12f471a81918da81fc3d104de6.tar.gz idevicerestore-620a6b7a84946f12f471a81918da81fc3d104de6.tar.bz2 |
Common: included <unistd.h> for fix compiling on macOS
error: use of undeclared identifier 'STDIN_FILENO'
tcgetattr(STDIN_FILENO, &oldt);
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c index c7064d9..559f342 100644 --- a/src/common.c +++ b/src/common.c @@ -35,6 +35,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <ctype.h> +#include <unistd.h> #ifdef WIN32 #include <windows.h> |