compile error in kde4 rev 2166 (latest)

/home/amir/kdenlive/renderer/renderjob.cpp: In member function ‘void RenderJob::slotAbort()’:
/home/amir/kdenlive/renderer/renderjob.cpp:50: error: ‘stderr’ was not declared in this scope
/home/amir/kdenlive/renderer/renderjob.cpp:50: error: ‘fprintf’ was not declared in this scope
/home/amir/kdenlive/renderer/renderjob.cpp:54: error: ‘QFile’ was not declared in this scope
/home/amir/kdenlive/renderer/renderjob.cpp:54: error: expected `;' before ‘f’
/home/amir/kdenlive/renderer/renderjob.cpp:55: error: ‘f’ was not declared in this scope
/home/amir/kdenlive/renderer/renderjob.cpp:57: error: ‘QFile’ was not declared in this scope
/home/amir/kdenlive/renderer/renderjob.cpp:57: error: expected `;' before ‘f’
/home/amir/kdenlive/renderer/renderjob.cpp:58: error: ‘f’ was not declared in this scope
/home/amir/kdenlive/renderer/renderjob.cpp:59: error: ‘exit’ was not declared in this scope
/home/amir/kdenlive/renderer/renderjob.cpp: In member function ‘void RenderJob::slotIsOver(int, QProcess::ExitStatus)’:
/home/amir/kdenlive/renderer/renderjob.cpp:89: error: ‘QFile’ was not declared in this scope
/home/amir/kdenlive/renderer/renderjob.cpp:89: error: expected `;' before ‘f’
/home/amir/kdenlive/renderer/renderjob.cpp:90: error: ‘f’ was not declared in this scope
/home/amir/kdenlive/renderer/renderjob.cpp:102: error: ‘exit’ was not declared in this scope
make[2]: *** [renderer/cmake_bindir/CMakeFiles/kdenlive_render.dir/renderjob.o] Error 1
make[1]: *** [renderer/cmake_bindir/CMakeFiles/kdenlive_render.dir/all] Error 2
make: *** [all] Error 2