make it compile.

don't expect it to work - clientapi.c will need to be fixed when
I'm not in a hurry.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>