From 60f10cca06201053402a2af678ac59387db4b61e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 23 May 2023 09:20:31 +0200 Subject: Fix FTBFS caused by SunOS specific patches - see Issue #344. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 3285a47d5dc3ffecabe49aaa11877f1abe71df44) --- tdm/backend/dm.c | 4 ++-- tdm/backend/getfd.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tdm/backend') diff --git a/tdm/backend/dm.c b/tdm/backend/dm.c index ac2471a17..627d2c23d 100644 --- a/tdm/backend/dm.c +++ b/tdm/backend/dm.c @@ -34,6 +34,8 @@ from the copyright holder. * display manager */ +#include + #include "dm.h" #include "dm_auth.h" #include "dm_error.h" @@ -55,8 +57,6 @@ from the copyright holder. #include #endif /* pthread_setname_np() */ -#include - // Limited by the number of VTs configured into the kernel or 256, whichever is less #define MAX_VT_NUMBER 48 diff --git a/tdm/backend/getfd.c b/tdm/backend/getfd.c index 070ddd0cd..6dea4f56c 100644 --- a/tdm/backend/getfd.c +++ b/tdm/backend/getfd.c @@ -1,3 +1,5 @@ +#include + #include #include #include @@ -7,7 +9,6 @@ #ifdef Q_OS_LINUX #include #endif -#include #include "getfd.h" -- cgit v1.2.1