commit | a7280a1ec2ebb99f19ebf55f6875f04bc9a44085 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 26 19:41:40 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 26 19:49:21 2018 +0100 |
tree | 337405d38f321c60a27a7fff39bbd8035f2645c5 | |
parent | 6689609090aa7f9ce7b7e84b4f9625db77467ae2 [diff] |
BUILD: buffers: buf.h requires unistd to get ssize_t on libmusl Building with musl and gcc-5.3 for MIPS returns this : include/common/buf.h: In function 'b_dist': include/common/buf.h:252:2: error: unknown type name 'ssize_t' ssize_t dist = to - from; ^ Including stdint or stddef is not sufficient there to get ssize_t, unistd is needed as well. It's likely that other platforms will have the same issue. This patch also addresses it in ist.h and memory.h.