Created attachment 6674 [details]
lib/snprintf.c compile fix
On my Ubuntu system, lib/snprintf.c (as of 425747c) doesn't compile due to a missing NULL definition, and also for an out-of-tree build, it can't find "../config.h". The attached patch fixes both issues.
I added an include of stddef.h for those systems where the other header files didn't define NULL (which they often do by including stddef.h). I don't want the file to include rsync.h, though, so I just tweaked the config.h include.