As `rand()` is not used at this stage, I think `#include <cstdlib>` can be removed. https://github.com/RayTracing/raytracing.github.io/blob/7b92650a045a887391bf8148af86c5e6c46c7a9e/books/RayTracingInOneWeekend.html#L1186