Just include rsync.h rather than all the individual headers.