gcc treats an implicit declaration as an error these days. Shut it up by supplying the declaration of printf() through <stdio.h>. Approved by: portmgr (build fix blanket) MFH: 2026Q2