|
|
@@ -0,0 +1,35 @@
|
|
|
+From e569a92539c96acd2a618729827c8fbf3659d803 Mon Sep 17 00:00:00 2001
|
|
|
+From: Bernd Kuhls <bernd@kuhls.net>
|
|
|
+Date: Tue, 7 Oct 2025 22:44:01 +0200
|
|
|
+Subject: [PATCH] cta: include sys/types.h
|
|
|
+
|
|
|
+Fixes build error with uClibc-based toolchain and gcc 15.2.0 found by
|
|
|
+Buildroot autobuilders[1]:
|
|
|
+
|
|
|
+../cta.c: In function 'parse_vendor_hdmi_block':
|
|
|
+../cta.c:168:15: error: unknown type name 'ssize_t'; did you mean 'size_t'?
|
|
|
+
|
|
|
+[1] https://autobuild.buildroot.org/results/2d72feabdd0c9e1c9aa89e6d683d5f5ae0bb942d/
|
|
|
+
|
|
|
+Upstream: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/commit/84e8da3de9a89a95c4305abf6f578feae66dfa69
|
|
|
+
|
|
|
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
|
|
+---
|
|
|
+ cta.c | 1 +
|
|
|
+ 1 file changed, 1 insertion(+)
|
|
|
+
|
|
|
+diff --git a/cta.c b/cta.c
|
|
|
+index 12187cc..53edfca 100644
|
|
|
+--- a/cta.c
|
|
|
++++ b/cta.c
|
|
|
+@@ -4,6 +4,7 @@
|
|
|
+ #include <math.h>
|
|
|
+ #include <stdlib.h>
|
|
|
+ #include <string.h>
|
|
|
++#include <sys/types.h>
|
|
|
+
|
|
|
+ #include "bits.h"
|
|
|
+ #include "cta.h"
|
|
|
+--
|
|
|
+2.47.3
|
|
|
+
|