BUILD: Missing inclusion header for ssize_t type
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 26 Jun 2024 08:17:09 +0000 (10:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Nov 2024 18:12:33 +0000 (19:12 +0100)
commit5c0e150b009ecafa69e6977351f6d952c6171774
tree949c211c1d4ebfc53d27cfee21d15c84cca251dd
parentefef36866e8718ee9470570d4a02c3b446f577ac
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 <w@1wt.eu>
include/haproxy/bug.h