diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-05-23 09:20:31 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-05-23 10:00:03 +0200 |
commit | 60f10cca06201053402a2af678ac59387db4b61e (patch) | |
tree | cc406c628587222f8bc3b6bfc3285514eb605160 /tdm | |
parent | d984205f2e2e53941bce2efb99252feb6a4c046e (diff) | |
download | tdebase-60f10cca06201053402a2af678ac59387db4b61e.tar.gz tdebase-60f10cca06201053402a2af678ac59387db4b61e.zip |
Fix FTBFS caused by SunOS specific patches - see Issue #344.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3285a47d5dc3ffecabe49aaa11877f1abe71df44)
Diffstat (limited to 'tdm')
-rw-r--r-- | tdm/backend/dm.c | 4 | ||||
-rw-r--r-- | tdm/backend/getfd.c | 3 |
2 files changed, 4 insertions, 3 deletions
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 <tqglobal.h> + #include "dm.h" #include "dm_auth.h" #include "dm_error.h" @@ -55,8 +57,6 @@ from the copyright holder. #include <pthread.h> #endif /* pthread_setname_np() */ -#include <tqglobal.h> - // 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 <tqglobal.h> + #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -7,7 +9,6 @@ #ifdef Q_OS_LINUX #include <linux/kd.h> #endif -#include <tqglobal.h> #include "getfd.h" |