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 fdeb58b..93c5d43 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 5c50a6c..09940b4 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 6f12ac3..169845a 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 5636cc8..8aa9541 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 f91781f..9d2576f 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 b4e948e..47301db 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 7e3bb35..d2fe63f 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>