gewalker/plex-linux — pull request #18 by chris-sanders (2012-07-01 17:18:11+00:00)
Title: Added unistd.h to XBTFriter.h for gcc-4.7 compatibility

Small patch for gcc-4.7 support. This plus the libgcc patches previously submitted all compilation on Fedora 17.

Description of the change:
http://gcc.gnu.org/gcc-4.7/porting_to.html

Many of the standard C++ library include files have been edited to no longer include to remove namespace pollution. As such, C++ programs that used functions including truncate, sleep or pipe without first including will no longer compile. The diagnostic produced is similar to:
Fixing this issue is easy: just include .