Haiku doesn't define unix, but have unistd.h and POSIX enough.
@Campbell Barton (campbellbarton) : can you please review this? Thank You!
Committed rB79d3b0b733315444baf0a387aa09eac358683161 rBf489db1c6b699aa479a145e28e24b1978bcf7ef6