summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-05-23 09:20:31 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-05-23 09:20:31 +0200
commit3285a47d5dc3ffecabe49aaa11877f1abe71df44 (patch)
tree9bdf73c6db292b4d0343d4d17968eabf9287b014
parent4d58a4ea8daf1a3cb91b7d8c6e574dd6f5bdb685 (diff)
downloadtdebase-3285a47d5dc3ffecabe49aaa11877f1abe71df44.tar.gz
tdebase-3285a47d5dc3ffecabe49aaa11877f1abe71df44.zip
Fix FTBFS caused by SunOS specific patches - see Issue #344.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--tdm/backend/dm.c4
-rw-r--r--tdm/backend/getfd.c3
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"