Index: textroom-0.8.2/library/sxfile/getusername.cpp =================================================================== --- textroom-0.8.2/library/sxfile/getusername.cpp +++ textroom-0.8.2/library/sxfile/getusername.cpp 2012-12-17 23:25:21.000000000 +0000 @@ -16,6 +16,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <unistd.h> #include "getusername.h" #ifdef Q_OS_UNIX