summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Privstr.h
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-03 16:46:14 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-03 16:46:14 +0000
commit6d4b350dee9495e54e6e5492815885f1d8455ac9 (patch)
tree7b66d8b4756de9f688080f9de043a0325b3ba049 /hw/xfree86/common/xf86Privstr.h
parent22b4200b01310e7b4743ef0b3541c3053a2d8279 (diff)
Bug #3815 <https://bugs.freedesktop.org/show_bug.cgi?id=3815> Patch #3463
<https://bugs.freedesktop.org/attachment.cgi?id=3463> GNU/kFreeBSD Xserver support (Robert Millan)
Diffstat (limited to 'hw/xfree86/common/xf86Privstr.h')
-rw-r--r--hw/xfree86/common/xf86Privstr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86Privstr.h b/hw/xfree86/common/xf86Privstr.h
index 93d64fd51..2f15e14cb 100644
--- a/hw/xfree86/common/xf86Privstr.h
+++ b/hw/xfree86/common/xf86Privstr.h
@@ -120,7 +120,7 @@ typedef struct {
/* graphics part */
Bool sharedMonitor;
ScreenPtr currentScreen;
-#ifdef CSRG_BASED
+#if defined(CSRG_BASED) || defined(__FreeBSD_kernel__)
int screenFd; /* fd for memory mapped access to
* vga card */
int consType; /* Which console driver? */
@@ -222,7 +222,7 @@ typedef struct _RootWinProp {
#define XCOMP ((unsigned long) 0x00008000)
/* BSD console driver types (consType) */
-#ifdef CSRG_BASED
+#if defined(CSRG_BASED) || defined(__FreeBSD_kernel__)
#define PCCONS 0
#define CODRV011 1
#define CODRV01X 2