diff --git a/CMakeLists.txt b/CMakeLists.txt index 70812b5c6a..d8243119b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1676,6 +1676,7 @@ check_include_file("poll.h" HAVE_POLL_H) check_include_file("pwd.h" HAVE_PWD_H) check_include_file("stdatomic.h" HAVE_STDATOMIC_H) check_include_file("stdbool.h" HAVE_STDBOOL_H) +check_include_file("stdint.h" HAVE_STDINT_H) check_include_file("strings.h" HAVE_STRINGS_H) check_include_file("stropts.h" HAVE_STROPTS_H) check_include_file("termio.h" HAVE_TERMIO_H) diff --git a/configure.ac b/configure.ac index a4e09e6655..a5c3f07940 100644 --- a/configure.ac +++ b/configure.ac @@ -3902,6 +3902,7 @@ AC_CHECK_HEADERS( libgen.h \ locale.h \ stdbool.h \ + stdint.h \ sys/filio.h \ sys/eventfd.h, dnl to do if not found diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake index fd82e41ca5..e78747e668 100644 --- a/lib/curl_config.h.cmake +++ b/lib/curl_config.h.cmake @@ -469,6 +469,9 @@ /* Define to 1 if you have the sendmmsg function. */ #cmakedefine HAVE_SENDMMSG 1 +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_STDINT_H 1 + /* Define to 1 if you have the 'fsetxattr' function. */ #cmakedefine HAVE_FSETXATTR 1