aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stream.h4
1 files changed, 4 insertions, 0 deletions
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 <limits.h>
#include <stddef.h>
#include <stdio.h>
@@ -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];