Build fails; need #include <unistd.h>
Brought to you by:
f0x0x,
taipanromania
Build fails with gcc 4.7:
/tmp/yaourt-tmp-root/aur-exaro/src/exaro_2.0.0/apps/designer/main.cpp: In function ‘int main(int, char**)’:
/tmp/yaourt-tmp-root/aur-exaro/src/exaro_2.0.0/apps/designer/main.cpp:122:203: error: ‘syscall’ was not declared in this scope
/tmp/yaourt-tmp-root/aur-exaro/src/exaro_2.0.0/apps/designer/main.cpp:126:201: error: ‘syscall’ was not declared in this scope
make[2]: *** [apps/designer/CMakeFiles/exaro.dir/main.cpp.o] Error 1
make[1]: *** [apps/designer/CMakeFiles/exaro.dir/all] Error 2
make: *** [all] Error 2
All it needs is this added to that main.cpp:
#include <unistd.h>