Wind farm compound gets planning approval