summaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ast.h b/src/ast.h
index e7376c6..cc878e9 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -23,6 +23,8 @@
#include <string.h>
#include <stdlib.h>
+#include "ast_pcirename.h"
+
/* Compiler Options */
#define Accel_2D
/* #define MMIO_2D */
@@ -130,8 +132,12 @@ typedef struct {
typedef struct _ASTRec {
EntityInfoPtr pEnt;
- pciVideoPtr PciInfo;
- PCITAG PciTag;
+#ifndef XSERVER_LIBPCIACCESS
+ pciVideoPtr PciInfo;
+ PCITAG PciTag;
+#else
+ struct pci_device *PciInfo;
+#endif
OptionInfoPtr Options;
DisplayModePtr ModePtr;