From 5c0e150b009ecafa69e6977351f6d952c6171774 Mon Sep 17 00:00:00 2001 From: Frederic Lecaille Date: Wed, 26 Jun 2024 10:17:09 +0200 Subject: [PATCH] BUILD: Missing inclusion header for ssize_t type Compilation issue detected as follows by gcc: In file included from src/ncbuf.c:19: src/ncbuf.c: In function 'ncb_write_off': include/haproxy/bug.h:144:10: error: unknown type name 'ssize_t' 144 | extern ssize_t write(int, const void *, size_t); \ (cherry picked from commit bc9821fd26b3a118415f579cdfa6e430b03f96da) Signed-off-by: Willy Tarreau --- include/haproxy/bug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/haproxy/bug.h b/include/haproxy/bug.h index 7db65c0d2..7d66f554b 100644 --- a/include/haproxy/bug.h +++ b/include/haproxy/bug.h @@ -29,6 +29,7 @@ #define _HAPROXY_BUG_H #include +#include #include #include