summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Privstr.h
diff options
context:
space:
mode:
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