ERSCH not found

Hi
Compiling grass5beta3 I get the following Error:
Error in ...... ERSCH undeclared (first use in this function )
in different files like ...src/general/gis/lock.c and different others.
There was always the function:

find_process (int pid)
if (kill (pid, 0) == 0)
  return 1;
    return errno != ESRCH;

Is this function important or can I comment out the line
return errno!= ESRCH; ?

Kurt