diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-22 17:00:56 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-22 17:00:56 +0000 |
commit | 7e262563948fcaeea143e6c7c23b6a300010eec5 (patch) | |
tree | 32d92af278b34baa1f2043ae71b7d07131edad27 /configure | |
parent | 3527b7a58a5f228a73f73ba74bc4ff86f7305a60 (diff) |
fixing compat compilation
include headers if needed and include config.h
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -272,6 +272,14 @@ cat <<__HEREDOC__ __HEREDOC__ +[ ${HAVE_VASPRINTF} -eq 0 ] && echo "#include <stdarg.h>" + +[ ${HAVE_EXPLICIT_BZERO} -eq 0 -o \ + ${HAVE_RECALLOCARRAY} -eq 0 -o \ + ${HAVE_STRLCAT} -eq 0 -o \ + ${HAVE_STRLCPY} -eq 0 -o \ + ${HAVE_STRTONUM} -eq 0 ] && echo "#include <stddef.h>" + if [ ${HAVE_ERR} -eq 0 ]; then echo "extern void err(int, const char*, ...);" echo "extern void errx(int, const char*, ...);" |