diff --git a/tools/build/test-includes/Makefile b/tools/build/test-includes/Makefile --- a/tools/build/test-includes/Makefile +++ b/tools/build/test-includes/Makefile @@ -22,6 +22,10 @@ # Some files have to be clean for extra defines too... CFLAGS.event.c= -D_WANT_KEVENT32 -D_WANT_FREEBSD11_KEVENT +# We currently support C89 and newer compilers. Catch the odd little fussy +# details like __inline that the header files must follow to support C89. +CFLAGS+=-ansi + .include "badfiles.inc" .for h c in ${HDRS:@x@$x ${x:S,/,_,g:R}.c@}