main.c: In function 'lsh_launch':
main.c:103:3: error: unknown type name 'pid_t'
pid_t pid;
^
"In older Posix standards, pid_t was only defined in <sys/types.h>, but since Posix.1-2001 (Issue 7) it is also in . However, in order to get definitions in Posix.1-2001, you must define an appropriate feature test macro before including any standard header file."
In case of Error:
"In older Posix standards, pid_t was only defined in <sys/types.h>, but since Posix.1-2001 (Issue 7) it is also in. However, in order to get definitions in Posix.1-2001, you must define an appropriate feature test macro before including any standard header file."