From c216ac3049102422a41ba2c9476b0dbf4f3e4034 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 16 Jul 2017 00:59:42 +0200 Subject: Use #include instead of #define MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index a32f1a3..6113edf 100644 --- a/src/common.h +++ b/src/common.h @@ -64,3 +64,7 @@ #ifndef CMSG_LEN # define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) #endif + +#if !defined(PIPE_BUF) +# define PIPE_BUF BUFSIZ +#endif -- cgit v1.2.3-70-g09d2