I'm quite new to linux (Gave up on windows), and thus new to linux progamming on a whole, so please bear with me for a minute. I had a programming assignment to do in c. it includes <unistd.h>. It compiles on the school machine, but in mine @ home i get
cphillip1.c:7: error: `pid_t' undeclared (first use in this function)
cphillip1.c:7: error: (Each undeclared identifier is reported only once
cphillip1.c:7: error: for each function it appears in.)
cphillip1.c:7: error: parse error before "pid"
cphillip1.c:11: error: `pid' undeclared (first use in this function)
cphillip1.c:15: error: `my_pid' undeclared (first use in this function)
cphillip1.c:29:7: warning: no newline at end of file
I'm guessing that the include path cannot be found. I use gcc to compile. how can I set the class path so that gcc knows where the include is without having to use a command line switch. ?? I'm running SUSE 9.1 Gnome 2.8 / KDE 3.3. Details please (remember I'm new) and please ... be nice.