diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-04-25 21:18:47 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-04-25 21:26:06 +0200 |
commit | 36e6f5de4475dd92a29ccbdbffc136a1b3e7d17b (patch) | |
tree | 7f96c81318a47d70a021a4fd90efa25ac33f27ae /configure | |
parent | 9626bcb07a2f447797bb1c682af2baad00bfb476 (diff) |
configure: Avoid implicit declaration of exit, strcmp in snprintf probes
Future compilers will not support implicit function declarations by
default, so add the additional #include directives for the appropriate
function prototypes.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15111,6 +15111,8 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <stdio.h> +#include <stdlib.h> +#include <string.h> int main(void) { @@ -15150,6 +15152,8 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <stdarg.h> int my_vsnprintf (char *buf, const char *tmpl, ...) |