Avoid implicit declaration memset in have_fpos_pos.c probe

Otherwise, the probe result changes with compilers which do not
support implicit function declarations, a language feature that
was removed from C in 1999.
This commit is contained in:
Florian Weimer
2023-01-18 10:54:55 +01:00
parent fddd24d6c6
commit dcf360d688
3 changed files with 6 additions and 2 deletions

View File

@@ -2540,7 +2540,7 @@ have_fgetsetpos.h: have_fgetsetpos.c banned.h have_ban_pragma.h ${MAKE_FILE} ${L
${TRUE}; \
fi
have_fpos_pos.h: have_fpos_pos.c have_fgetsetpos.h have_posscl.h \
have_fpos_pos.h: have_fpos_pos.c have_fgetsetpos.h have_posscl.h have_string.h \
banned.h have_ban_pragma.h ${MAKE_FILE} ${LOC_MKF}
${Q} ${RM} -f fpos_tmp $@
${H} echo 'forming $@'