summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"