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>
This commit is contained in:
parent
efef36866e
commit
5c0e150b00
@ -29,6 +29,7 @@
|
||||
#define _HAPROXY_BUG_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
#include <haproxy/atomic.h>
|
||||
#include <haproxy/compiler.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user