]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: quic: use inttypes.h instead of stdint.h
authorWilly Tarreau <w@1wt.eu>
Mon, 30 May 2022 14:37:17 +0000 (16:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 30 May 2022 14:37:17 +0000 (16:37 +0200)
The usual build joke on uncommon systems (AIX this time, though some
versions of Solaris are known for missing it as well).

include/haproxy/ncbuf-t.h
include/haproxy/quic_cc-t.h
include/haproxy/quic_enc.h
include/haproxy/quic_frame-t.h
include/haproxy/quic_loss-t.h
include/haproxy/quic_tp-t.h
include/haproxy/xprt_quic.h

index fdeb58babeda4e0f283d71ac01b024fffe7481d7..93c5d433e23d3d75caa1b6ac8e642bdffd1b731b 100644 (file)
@@ -62,7 +62,7 @@
  *
  */
 
-#include <stdint.h>
+#include <inttypes.h>
 
 /* ncb_sz_t is the basic type used in ncbuf to represent data and gap sizes.
  * Use a bigger type to extend the maximum data size supported in the buffer.
index 5c50a6c0798b6f899f5bb03dab4fc8ea42161d02..09940b4cdda4ef24c97c426c3ad71634abeaa030 100644 (file)
@@ -26,8 +26,8 @@
 #error "Must define USE_OPENSSL"
 #endif
 
+#include <inttypes.h>
 #include <stddef.h> /* size_t */
-#include <stdint.h>
 
 #include <haproxy/buf-t.h>
 
index 6f12ac3648e7243b88f6a60be96886ba788bf185..169845a3dd19fcbb6f6af8555893a65f0e25c74e 100644 (file)
@@ -26,7 +26,7 @@
 #error "Must define USE_OPENSSL"
 #endif
 
-#include <stdint.h>
+#include <inttypes.h>
 
 #include <haproxy/buf.h>
 #include <haproxy/chunk.h>
index 5636cc810d32bf1483a6b648908bd254e2da9f96..8aa95411b11c97aec62b9c82bd5ea8d753d43e89 100644 (file)
@@ -26,7 +26,7 @@
 #error "Must define USE_OPENSSL"
 #endif
 
-#include <stdint.h>
+#include <inttypes.h>
 #include <stdlib.h>
 
 #include <haproxy/list.h>
index f91781f50352e1de04e9ef2d144d107e7677e0ad..9d2576f46dd2cbc08002a1c975cc1a0a69b1d157 100644 (file)
@@ -26,7 +26,7 @@
 #error "Must define USE_OPENSSL"
 #endif
 
-#include <stdint.h>
+#include <inttypes.h>
 
 /* Maximum reordering in packets. */
 #define QUIC_LOSS_PACKET_THRESHOLD         3
index b4e948ebbb4302e654e2ee7bc3c7eff16b2bedc3..47301db48c9b07d6b19192a5fd4074f93eea8dbe 100644 (file)
@@ -5,7 +5,7 @@
 #error "Must define USE_OPENSSL"
 #endif
 
-#include <stdint.h>
+#include <inttypes.h>
 
 #define QUIC_STATELESS_RESET_TOKEN_LEN 16
 
index 7e3bb35daa736b0add7ec496914d21de74835cd1..d2fe63f28db118126d4511403f5671e3f45355d8 100644 (file)
@@ -26,7 +26,7 @@
 #error "Must define USE_OPENSSL"
 #endif
 
-#include <stdint.h>
+#include <inttypes.h>
 
 #include <import/eb64tree.h>
 #include <import/ebmbtree.h>