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

@@ -28,6 +28,10 @@
#include <stdio.h>
#include "have_fgetsetpos.h"
#include "have_posscl.h"
#include "have_string.h"
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#include "banned.h" /* include after system header <> includes */