Xcode 7.3 fails to compile stdio

Nice update! Basically stuck:


Use of undeclared identifier 'STDERR_FILENO'

Use of undeclared identifier 'STDOUT_FILENO'

Use of undeclared identifier 'dup'

Use of undeclared identifier 'dup2'

Use of undeclared identifier 'close'

Answered by Muse in 126424022

To fix, add: #import "unistd.h"

Accepted Answer

To fix, add: #import "unistd.h"

Problem is that this breaks hundreds of backups over the last 10 years. Filing as a bug.

Xcode 7.3 fails to compile stdio
 
 
Q