summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tseng.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tseng.h b/src/tseng.h
index 8dc571a..6af1185 100644
--- a/src/tseng.h
+++ b/src/tseng.h
@@ -1,8 +1,8 @@
-
-
#ifndef _TSENG_H
#define _TSENG_H
+#include "config.h"
+
#include "tseng_pcirename.h"
#include <string.h>
@@ -35,8 +35,12 @@
#include "micmap.h"
/* Needed for the 1 and 4 bpp framebuffers */
+#ifdef HAVE_XF1BPP
#include "xf1bpp.h"
+#endif
+#ifdef HAVE_XF4BPP
#include "xf4bpp.h"
+#endif
#include "fb.h"
/* Drivers using the XAA interface ... */