1From 648c1cb66b571b037976b61363654f39448f5fac Mon Sep 17 00:00:00 2001 2From: Bernd Kuhls <bernd@kuhls.net> 3Date: Sun, 7 May 2023 14:14:48 +0200 4Subject: [PATCH] displayid.c: Include sys/types.h 5MIME-Version: 1.0 6Content-Type: text/plain; charset=UTF-8 7Content-Transfer-Encoding: 8bit 8 9Fixes build error 10../displayid.c:377:10: error: ‘ssize_t’ undeclared (first use in this function); did you mean ‘size_t’? 11 12seen with: 13arc-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 10.2.0 14 15Upstream: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/commit/5c9801a75f2815790ad1ed5500cec2728a36c6ec 16 17Signed-off-by: Bernd Kuhls <bernd@kuhls.net> 18--- 19 displayid.c | 1 + 20 1 file changed, 1 insertion(+) 21 22diff --git a/displayid.c b/displayid.c 23index 398772b..f1749c6 100644 24--- a/displayid.c 25+++ b/displayid.c 26@@ -3,6 +3,7 @@ 27 #include <inttypes.h> 28 #include <stdlib.h> 29 #include <string.h> 30+#include <sys/types.h> 31 32 #include "bits.h" 33 #include "displayid.h" 34-- 352.39.2 36 37