* testapi.c: applied patch from Steve Nairn tof fix the compilation problem exposed in bug #303640 Daniel