Remove includes of darkstat.h, add cdefs.h where needed.