]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
build: set `HAVE_STDINT_H` if `stdint.h` is available
authorViktor Szakats <commit@vsz.me>
Thu, 6 Mar 2025 03:58:58 +0000 (04:58 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 6 Mar 2025 12:17:15 +0000 (13:17 +0100)
Ref: #15907

Closes #16585

CMakeLists.txt
configure.ac
lib/curl_config.h.cmake

index 70812b5c6a95e7c93a0a39ec127193c0b5849558..d8243119b4b8d3d853d59b17ed6906df11fff2ab 100644 (file)
@@ -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)
index a4e09e6655f2f86f401a6983904393eb1e18ad01..a5c3f079409bdc0910918a493739eab8c82248ab 100644 (file)
@@ -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
index fd82e41ca53a20e0d6c2cfb505bb813c4eef1c0a..e78747e668cba32bf678049a904dbf007f5d8919 100644 (file)
 /* Define to 1 if you have the sendmmsg function. */
 #cmakedefine HAVE_SENDMMSG 1
 
+/* Define to 1 if you have the <stdint.h> header file. */
+#cmakedefine HAVE_STDINT_H 1
+
 /* Define to 1 if you have the 'fsetxattr' function. */
 #cmakedefine HAVE_FSETXATTR 1