Problem on compiling afind on Windows
Posted: July 5th, 2015, 5:04 am
I have succeeded in compiling afind on a mac,but my gcc in Windows always give me the error message:
Can anyone help me find out what is going wrong?
Thanks!
Code: Select all
C:\Dev-Cpp\bin>g++ afind.c
afind.c:39:26: sys/resource.h: No such file or directory
afind.c: In function `int main(int, char**)':
afind.c:1763: error: `PRIO_PROCESS' undeclared (first use this function)
afind.c:1763: error: (Each undeclared identifier is reported only once for each function it appears in.)
afind.c:1763: error: `setpriority' undeclared (first use this function)
afind.c:1807:78: warning: no newline at end of file
Thanks!