From 305ab92c7f697f1198c928b26e852b8d9fb2be71 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 9 May 2017 18:49:45 +0200 Subject: Add padding to struct stream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/stream.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stream.h b/src/stream.h index 280dde1..238f026 100644 --- a/src/stream.h +++ b/src/stream.h @@ -1,4 +1,5 @@ /* See LICENSE file for copyright and license details. */ +#include #include #include @@ -45,6 +46,9 @@ struct stream { size_t pixel_size; char pixfmt[32]; int fd; +#if INT_MAX != LONG_MAX + int padding__; +#endif size_t ptr; size_t xptr; char buf[BUFSIZ]; -- cgit v1.2.3-70-g09d2