In addition to C99=1 on the make command line, also allow C89=1 or C11=1 or C23=1. NOTE: Those won't all lead to a successful build of NetHack, and the use of C23=1 (-std=c2x) will only be valid on recent compiler versions (clang-15, for one, accepts it).