The ornamental design for a headlamp for a boat, as shown and described.
FIG. 1 is a perspective view of a headlamp for a boat, showing my new design, with the wire broken away to indicated indeterminate length;
FIG. 2 is a front elevation view of the headlamp;
FIG. 3 is a rear elevation view of the headlamp;
FIG. 4 is a right-side elevation view of the headlamp;
FIG. 5 is a left-side elevation view of the headlamp;
FIG. 6 is a top plan view of the headlamp;
FIG. 7 is a bottom plan view of the headlamp; and,
FIG. 8 is a perspective view of the headlamp mounted on the boat.
The broken line showing of structural features is included for the purpose of illustrating non-claim subject matter and forms no part of the claimed design.