--- /dev/null
+From cf7dbfc47f0c1cfa8931e6fb914d66fe77b7e04e Mon Sep 17 00:00:00 2001
+From: Wook Song <wook16.song@samsung.com>
+Date: Fri, 7 Jun 2024 11:46:32 +0900
+Subject: [PATCH] [API/XLinkConsole] Add a missing header include, pthread.h
+
+This patch fixes a compile error related to the implicit declaration of
+function 'pthread_create'.
+
+Change-Id: Id4e2a2a8c33082589073d676db97071c9daa76d3
+Signed-off-by: Wook Song <wook16.song@samsung.com>
+---
+ api/src/common/components/XLinkConsole/pc/XLinkConsole.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/api/src/common/components/XLinkConsole/pc/XLinkConsole.c b/api/src/common/components/XLinkConsole/pc/XLinkConsole.c
+index 8e46f04..6524e95 100644
+--- a/api/src/common/components/XLinkConsole/pc/XLinkConsole.c
++++ b/api/src/common/components/XLinkConsole/pc/XLinkConsole.c
+@@ -27,6 +27,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <arpa/inet.h>
++#include <pthread.h>
+ #define MVLOG_UNIT_NAME xLinkConsole
+ #include "mvLog.h"
+
+--
+2.34.1
+
Patch1: 0002-API-Makefile-Generalize-Makefile.patch
Patch2: 0003-API-Makefile-Modifies-Makefile-to-generate-libmvnc.p.patch
Patch3: 0004-API-Makefile-Add-flag-to-skip-.-get_mvcmd.sh-when-it.patch
+Patch4: 0005-API-XLinkConsole-Add-a-missing-header-include.patch
Requires(post): %{_sbindir}/udevadm %{_sbindir}/ldconfig
Requires(postun): %{_sbindir}/udevadm %{_sbindir}/ldconfig
Requires: mvnc-2450-firmware
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
cp %{SOURCE1} .
cp %{SOURCE1001} .
cp %{SOURCE1002} .