Applied Andreas Jaeger's patch:
<<<<<<<<<<<<<<<
Building current CVS I encountered a number of warning - some of them
show real bugs in the testsuite:

tst_kvercmp.c:51: warning: implicit declaration of function `atoi'
dummy.c:34: warning: implicit declaration of function `exit'
mmap2.c:101: warning: implicit declaration of function `memset'
mmap3.c:101: warning: implicit declaration of function `memset'
shm_test.c:290: warning: return type defaults to `int'
shm_test.c:217: warning: unsigned int format, pointer arg (arg 4)
shm_test.c:225: warning: unsigned int format, pointer arg (arg 4)
shm_test.c:385: warning: int format, long unsigned int arg (arg 3)
pthcli.c:58: warning: return type defaults to `int'
pthcli.c:70: warning: implicit declaration of function `writen'
pthcli.c:77: warning: implicit declaration of function `readline'
pthcli.c:95: warning: return type defaults to `int'
pthcli.c:105: warning: implicit declaration of function `exit'
pthcli.c:143: warning: passing arg 1 of `close' makes integer from pointer without a cast
pthcli.c:152: warning: passing arg 1 of `close' makes integer from pointer without a cast
pthserv.c:74: warning: implicit declaration of function `readline'
pthserv.c:87: warning: implicit declaration of function `writen'
pthserv.c:99: warning: return type defaults to `int'
pthserv.c:111: warning: implicit declaration of function `exit'
pthserv.c:174: warning: implicit declaration of function `close'

Please apply the appended patch,

Andreas
>>>>>>>>>>>>>>>
diff --git a/lib/tst_kvercmp.c b/lib/tst_kvercmp.c
index 3cbf491..3690044 100644
--- a/lib/tst_kvercmp.c
+++ b/lib/tst_kvercmp.c
@@ -31,7 +31,7 @@
  */
 
 
-
+#include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <sys/utsname.h>