summaryrefslogtreecommitdiffstats
path: root/x11/gdm2/files/patch-daemon_gdm.c
blob: 0c04ced58526688c34091189686cdc362d7d5ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- daemon/gdm.c.orig	Mon Apr  5 03:11:28 2004
+++ daemon/gdm.c	Tue May 11 00:04:26 2004
@@ -42,7 +42,7 @@
 #include <locale.h>
 
 /* This should be moved to auth.c I suppose */
-#include <X11/Xauth.h>
+/*#include <X11/Xauth.h>*/
 
 #include <vicious.h>
 
@@ -3822,7 +3822,7 @@
 			return;
 		}
 
-#ifdef __linux__
+#if defined  (__linux__) || defined (__FreeBSD__)
 		gdm_connection_printf (conn, "OK %d\n", gdm_get_cur_vt ());
 #else
 		gdm_connection_write (conn, "ERROR 8 Virtual terminals not supported\n");
@@ -3849,7 +3849,7 @@
 			return;
 		}
 
-#ifdef __linux__
+#if defined (__linux__) || defined (__FreeBSD__)
 		gdm_change_vt (vt);
 		for (li = displays; li != NULL; li = li->next) {
 			GdmDisplay *disp = li->data;
OpenPOWER on IntegriCloud